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