Class java.text.Collation (1.1)


public abstract class Collation extends Object implements Cloneable, Serializable {
  // Protected Constructor
    protected Collation( );
  // Constants
    public final static byte CANONICAL_DECOMPOSITION;
    public final static byte EQUAL;
    public final static byte FULL_DECOMPOSITION;
    public final static byte GREATER;
    public final static byte IDENTICAL;
    public final static byte LESS;
    public final static byte NO_DECOMPOSITION;
    public final static byte PRIMARY;
    public final static byte SECONDARY;
    public final static byte TERTIARY;
  // Class Methods
    public static synchronized Locale[ ] getAvailableLocales( );
    public static synchronized Collation getDefault( );
    public static synchronized Collation getDefault(Locale desiredLocale);
    public static synchronized String getDisplayName(Locale objectLocale, Locale displayLocale);
    public static synchronized String getDisplayName(Locale objectLocale);
  // Public Instance Methods
    public Object clone( );  // Overrides Object.clone( )
    public abstract byte compare(String source, String target);
    public abstract byte compare(String source, int start, int end, String target, int targetStart, int targetEnd) throws StringIndexOutOfBoundsException;
    public boolean equals(String source, String target);
    public abstract boolean equals(Object what);  // Overrides Object.equals( )
    public abstract CollationKey getCollationKey(String source);
    public abstract CollationKey getCollationKey(String source, int start, int end) throws StringIndexOutOfBoundsException;
    public synchronized byte getDecomposition( );
    public abstract SortKey getSortKey(String source);
    public abstract SortKey getSortKey(String source, int start, int end) throws StringIndexOutOfBoundsException;
    public synchronized byte getStrength( );
    public boolean greater(String source, String target);
    public boolean greaterOrEqual(String source, String target);
    public synchronized abstract int hashCode( );  // Overrides Object.hashCode( )
    public synchronized void setDecomposition(byte decompositionMode) throws IllegalArgumentException;
    public synchronized void setStrength(byte newStrength) throws IllegalArgumentException;
}