congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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