Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public abstract class Collator extends Object implements Cloneable, Serializable { // Protected Constructor protected Collator(); // Constants public static final int CANONICAL_DECOMPOSITION; public static final int FULL_DECOMPOSITION; public static final int IDENTICAL; public static final int NO_DECOMPOSITION; public static final int PRIMARY; public static final int SECONDARY; public static final int TERTIARY; // Class Methods public static synchronized Locale[] getAvailableLocales(); public static synchronized Collator getInstance(); public static synchronized Collator getInstance(Locale desiredLocale); // Public Instance Methods public Object clone(); // Overrides Object.clone() public abstract int compare(String source, String target); public boolean equals(String source, String target); public boolean equals(Object that); // Overrides Object.equals() public abstract CollationKey getCollationKey(String source); public synchronized int getDecomposition(); public synchronized int getStrength(); public abstract synchronized int hashCode(); // Overrides Object.hashCode() public synchronized void setDecomposition(int decompositionMode); public synchronized void setStrength(int newStrength); }