protected static class AbstractHashedMap.HashEntry<K,V> extends Object implements Map.Entry<K,V>, KeyValue<K,V>
AbstractHashedMap but not
HashEntry then you will not be able to access the protected
fields. The entryXxx() methods on
AbstractHashedMap exist to provide the necessary access.| Modifier and Type | Field and Description |
|---|---|
protected int |
hashCode
The hash code of the key
|
protected AbstractHashedMap.HashEntry<K,V> |
next
The next entry in the hash chain
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHashedMap.HashEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value) |
protected AbstractHashedMap.HashEntry<K,V> next
protected int hashCode
protected AbstractHashedMap.HashEntry(AbstractHashedMap.HashEntry<K,V> next, int hashCode, K key, V value)
public void setKey(K key)
public V getValue()
KeyValuepublic boolean equals(Object obj)
public int hashCode()
Copyright © 2014. All Rights Reserved.