public static class FastMap.Entry<K,V> extends Object implements Map.Entry<K,V>, FastCollection.Record, Realtime
| Modifier and Type | Field and Description |
|---|---|
static FastMap.Entry |
NULL
Holds NULL entries (to fill empty hole).
|
| Modifier | Constructor and Description |
|---|---|
protected |
Entry()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that)
Indicates if this entry is considered equals to the specified entry
(using default value and key equality comparator to ensure symetry).
|
K |
getKey()
Returns the key for this entry.
|
FastMap.Entry<K,V> |
getNext()
Returns the entry after this one.
|
FastMap.Entry<K,V> |
getPrevious()
Returns the entry before this one.
|
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.
|
Text |
toText()
Returns the textual representation of this real-time object
(equivalent to
toString except that the returned value
can be "stack" allocated and
supports fast concatenation). |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic static final FastMap.Entry NULL
public final FastMap.Entry<K,V> getNext()
getNext in interface FastCollection.Recordpublic final FastMap.Entry<K,V> getPrevious()
getPrevious in interface FastCollection.Recordpublic final K getKey()
public final V getValue()
public boolean equals(Object that)
public int hashCode()
Copyright © 2005–2021 Javolution. All rights reserved.