Codota Logo
AlphabeticIndex
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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

  • Finding current android device location
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now