congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AlphabeticIndex
Code IndexAdd Tabnine to your IDE (free)

How to use
AlphabeticIndex
in
libcore.icu

Best Java code snippets using libcore.icu.AlphabeticIndex (Showing top 20 results out of 315)

origin: robovm/robovm

/**
 * Adds the index characters in the range between the specified start and
 * end code points, inclusive.
 */
public synchronized AlphabeticIndex addLabelRange(int codePointStart, int codePointEnd) {
 addLabelRange(peer, codePointStart, codePointEnd);
 return this;
}
origin: robovm/robovm

/**
 * Adds the index characters from the given locale to the index.
 * The labels are added to those that are already in the index;
 * they do not replace the existing index characters.
 * The collation order for this index is not changed;
 * it remains that of the locale that was originally specified
 * when creating this index.
 */
public synchronized AlphabeticIndex addLabels(Locale locale) {
 addLabels(peer, locale.toString());
 return this;
}
origin: robovm/robovm

/**
 * Returns an ImmutableIndex created from this AlphabeticIndex.
 */
public synchronized ImmutableIndex getImmutableIndex() {
 return new ImmutableIndex(buildImmutableIndex(peer));
}
origin: robovm/robovm

/**
 * Sets the max number of the label buckets in this index.
 * (ICU 51 default is 99)
 */
public synchronized AlphabeticIndex setMaxLabelCount(int count) {
 setMaxLabelCount(peer, count);
 return this;
}
origin: robovm/robovm

/**
 * Creates a new AlphabeticIndex for the given locale.
 */
public AlphabeticIndex(Locale locale) {
 peer = create(locale.toString());
}
origin: robovm/robovm

/**
 * Returns the label for the bucket at the given index (as returned by getBucketIndex).
 */
public synchronized String getBucketLabel(int index) {
 return getBucketLabel(peer, index);
}
origin: robovm/robovm

@Override protected synchronized void finalize() throws Throwable {
 try {
  destroy(peer);
  peer = 0;
 } finally {
  super.finalize();
 }
}
origin: robovm/robovm

/**
 * Returns the max number of the label buckets allowed in this index.
 */
public synchronized int getMaxLabelCount() {
 return getMaxLabelCount(peer);
}
origin: robovm/robovm

/**
 * Returns the number of the label buckets in this index.
 */
public synchronized int getBucketCount() {
 return getBucketCount(peer);
}
origin: robovm/robovm

/**
 * Returns the index of the bucket in which 's' should appear.
 * Function is synchronized because underlying routine walks an iterator
 * whose state is maintained inside the index object.
 */
public synchronized int getBucketIndex(String s) {
 return getBucketIndex(peer, s);
}
origin: MobiVM/robovm

/**
 * Sets the max number of the label buckets in this index.
 * (ICU 51 default is 99)
 */
public synchronized AlphabeticIndex setMaxLabelCount(int count) {
 setMaxLabelCount(peer, count);
 return this;
}
origin: MobiVM/robovm

/**
 * Creates a new AlphabeticIndex for the given locale.
 */
public AlphabeticIndex(Locale locale) {
 peer = create(locale.toString());
}
origin: MobiVM/robovm

/**
 * Returns the label for the bucket at the given index (as returned by getBucketIndex).
 */
public synchronized String getBucketLabel(int index) {
 return getBucketLabel(peer, index);
}
origin: MobiVM/robovm

@Override protected synchronized void finalize() throws Throwable {
 try {
  destroy(peer);
  peer = 0;
 } finally {
  super.finalize();
 }
}
origin: MobiVM/robovm

/**
 * Returns the max number of the label buckets allowed in this index.
 */
public synchronized int getMaxLabelCount() {
 return getMaxLabelCount(peer);
}
origin: ibinti/bugvm

/**
 * Returns the number of the label buckets in this index.
 */
public synchronized int getBucketCount() {
 return getBucketCount(peer);
}
origin: MobiVM/robovm

/**
 * Returns the index of the bucket in which 's' should appear.
 * Function is synchronized because underlying routine walks an iterator
 * whose state is maintained inside the index object.
 */
public synchronized int getBucketIndex(String s) {
 return getBucketIndex(peer, s);
}
origin: MobiVM/robovm

/**
 * Adds the index characters in the range between the specified start and
 * end code points, inclusive.
 */
public synchronized AlphabeticIndex addLabelRange(int codePointStart, int codePointEnd) {
 addLabelRange(peer, codePointStart, codePointEnd);
 return this;
}
origin: ibinti/bugvm

/**
 * Sets the max number of the label buckets in this index.
 * (ICU 51 default is 99)
 */
public synchronized AlphabeticIndex setMaxLabelCount(int count) {
 setMaxLabelCount(peer, count);
 return this;
}
origin: ibinti/bugvm

/**
 * Creates a new AlphabeticIndex for the given locale.
 */
public AlphabeticIndex(Locale locale) {
 peer = create(locale.toString());
}
libcore.icuAlphabeticIndex

Javadoc

Exposes icu4c's AlphabeticIndex.

Most used methods

  • addLabelRange
  • addLabels
    Adds the index characters from the given locale to the index. The labels are added to those that are
  • buildImmutableIndex
  • create
  • destroy
  • getBucketCount
  • getBucketIndex
    Returns the index of the bucket in which 's' should appear. Function is synchronized because underly
  • getBucketLabel
  • getMaxLabelCount
  • setMaxLabelCount

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Permission (java.security)
    Legacy security code; do not use.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now