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

  • Start an intent from android
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JComboBox (javax.swing)
  • JTextField (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Option (scala)
  • 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