CollationKey.hashCode

CollationKey.hashCode

Class Overview | Class Members | This Package | All Packages

Syntax
public int hashCode()
Returns
the hash value based on the string's collation order.
Description
Creates a hash code for this CollationKey. The hash value is calculated on the key itself, not the String from which the key was created. Thus if x and y are CollationKeys, then x.hashCode(x) == y.hashCode() if x.equals(y) is true. This allows language-sensitive comparison in a hash table. See the CollatinKey class description for an example.

Overrides
hashCode in class Object