public class HashNode<K,V>
extends java.util.AbstractMap.SimpleEntry<K,V>
implements java.util.Map.Entry<K,V>
GeneralHashTable
.
This is a public class to allow overriding.Modifier and Type | Field and Description |
---|---|
protected int |
keyHash |
HashNode<K,V> |
next |
Constructor and Description |
---|
HashNode(K key,
V value) |
HashNode(K key,
V value,
int keyHash) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Implements the general Map.Entry specification.
|
V |
get(V defaultValue) |
getKey, getValue, hashCode, setValue, toString