public static class XLinkedHashMap.Entry<K,V> extends Object implements Map.Entry<K,V>, XCollection.Record
XLinkedHashMap
entry.
Custom XLinkedHashMap
may use a derived implementation.
For example:[code]
static class MyMapModifier and Type | Field and Description |
---|---|
static XLinkedHashMap.Entry<?,?> |
NULL
Holds NULL entries (to fill empty hole).
|
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.
|
XLinkedHashMap.Entry<K,V> |
getNext()
Returns the entry after this one.
|
XLinkedHashMap.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.
|
String |
toString() |
public static final XLinkedHashMap.Entry<?,?> NULL
public final XLinkedHashMap.Entry<K,V> getNext()
getNext
in interface XCollection.Record
public final XLinkedHashMap.Entry<K,V> getPrevious()
getPrevious
in interface XCollection.Record
public final K getKey()
public final V getValue()
public boolean equals(Object that)
public int hashCode()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.