All Implemented Interfaces:
Cloneable, Comparator<Object>

  • Field Summary

  • Constructor Summary

    Constructors

    RuleBasedCollator constructor.

  • Method Summary

    clone()

    Standard override; no change in semantics.

    int

    Compares the character data stored in two different strings based on the collation rules.

    boolean

    Compares the equality of two collation objects.

    Returns a CollationElementIterator for the given String.

    Returns a CollationElementIterator for the given CharacterIterator.

    Transforms the string into a series of characters that can be compared with CollationKey.compareTo.

    getRules()

    Gets the table-based rules for the collation object.

    int

    hashCode()

    Generates the hash code for the table-based collation object

    Methods declared in class Collator

    compare, equals, getAvailableLocales, getDecomposition, getInstance, getInstance, getStrength, setDecomposition, setStrength

    int

    Compares its two arguments for order.

    boolean

    Convenience method for comparing the equality of two strings based on this Collator's collation rules.

    Returns an array of all locales for which the getInstance methods of this class can return localized instances.

    int

    Get the decomposition mode of this Collator.

    Gets the Collator for the current default locale.

    Gets the Collator for the desired locale.

    int

    Returns this Collator's strength property.

    void

    Set the decomposition mode of this Collator.

    void

    Sets this Collator's strength property.

    Methods declared in class Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    protected void

    Deprecated, for removal: This API element is subject to removal in a future version.

    Returns the runtime class of this Object.

    final void

    Wakes up a single thread that is waiting on this object's monitor.

    final void

    Wakes up all threads that are waiting on this object's monitor.

    Returns a string representation of the object.

    final void

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

    final void

    wait(long timeoutMillis)

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

    final void

    wait(long timeoutMillis, int nanos)

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

    Methods declared in interface Comparator

    max, min, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong

    default <U extends T>
    U

    max(U o1, U o2)

    Returns the greater of two values according to this comparator.

    default <U extends T>
    U

    min(U o1, U o2)

    Returns the smaller of two values according to this comparator.

    Returns a comparator that imposes the reverse ordering of this comparator.

    Returns a lexicographic-order comparator with another comparator.

    Returns a lexicographic-order comparator with a function that extracts a Comparable sort key.

    Returns a lexicographic-order comparator with a function that extracts a key to be compared with the given Comparator.

    Returns a lexicographic-order comparator with a function that extracts a double sort key.

    Returns a lexicographic-order comparator with a function that extracts an int sort key.

    Returns a lexicographic-order comparator with a function that extracts a long sort key.

  • Constructor Details

    • RuleBasedCollator

  • Method Details

    • getRules

    • getCollationElementIterator

    • getCollationElementIterator

    • compare

    • getCollationKey

    • clone

    • equals

    • hashCode