Modifier and Type | Field and Description |
---|---|
private FastMap.EntryImpl |
_after
Holds the entry added after this entry or the next available entry when in pool.
|
private FastMap.EntryImpl |
_before
Holds the entry added before this entry (null when in pool).
|
private int |
_index
Holds the bucket index (undefined when in pool).
|
private K |
_key
Holds the entry key (null when in pool).
|
private FastMap.EntryImpl |
_next
Holds the next entry in the same bucket (null when in pool).
|
private FastMap.EntryImpl |
_previous
Holds the previous entry in the same bucket (null when in pool).
|
private V |
_value
Holds the entry value (null when in pool).
|
Modifier | Constructor and Description |
---|---|
private |
EntryImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that)
Indicates if this entry is considered equals to the specified entry.
|
K |
getKey()
Returns the key for this entry.
|
V |
getValue()
Returns the value for this entry.
|
int |
hashCode()
Returns the hash code for this entry.
|
V |
setValue(V value)
Sets the value for this entry.
|
java.lang.String |
toString()
Returns the text representation of this entry.
|
private K _key
private V _value
private int _index
private FastMap.EntryImpl _previous
private FastMap.EntryImpl _next
private FastMap.EntryImpl _before
private FastMap.EntryImpl _after
public K getKey()
public V getValue()
public boolean equals(java.lang.Object that)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object