Interface KeyComparator<K>
-
- Type Parameters:
K
- Key's type
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
StringIgnoreCaseKeyComparator
public interface KeyComparator<K> extends java.io.Serializable
A key comparator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(K x, K y)
Compare two keys for equality.int
hash(K k)
Get the hash code of a key.
-