K
- Key's typepublic interface KeyComparator<K> extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(K x,
K y)
Compare two keys for equality.
|
int |
hash(K k)
Get the hash code of a key.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.