|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.text.CollationKey
public final class CollationKey
CollationKey represents the collation order of a particular String for a specific Collator. CollationKeys can be compared to determine the relative ordering of their source Strings. This is useful when the Strings must be compared multiple times, as in sorting.
| Constructor Summary | |
|---|---|
CollationKey(String source,
com.ibm.icu4jni.text.CollationKey key)
|
|
| Method Summary | |
|---|---|
int |
compareTo(CollationKey value)
Compare the receiver to the specified CollationKey to determine the relative ordering. |
boolean |
equals(Object object)
Compares the specified object to this CollationKey and answer if they are equal. |
String |
getSourceString()
Answer the String from which this CollationKey was created. |
int |
hashCode()
Returns an integer hash code for the receiver. |
byte[] |
toByteArray()
Answer the collation key as a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
CollationKey(String source,
com.ibm.icu4jni.text.CollationKey key)
| Method Detail |
|---|
public int compareTo(CollationKey value)
compareTo in interface Comparable<CollationKey>value - a CollationKey
public boolean equals(Object object)
equals in class Objectobject - the object to compare with this object
hashCode()public String getSourceString()
public int hashCode()
hashCode in class Objectequals(java.lang.Object)public byte[] toByteArray()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||