public static class XBooleanLinkedHashMap.Entry<V> extends Object implements XBooleanMap.Entry<V>, XCollection.Record
XBooleanLinkedHashMap entry.
Custom XBooleanLinkedHashMap may use a derived implementation.
For example:[code]
static class MyMap| Modifier and Type | Field and Description |
|---|---|
static XBooleanLinkedHashMap.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).
|
boolean |
getKey()
Returns the key for this entry.
|
XBooleanLinkedHashMap.Entry<V> |
getNext()
Returns the entry after this one.
|
XBooleanLinkedHashMap.Entry<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 XBooleanLinkedHashMap.Entry<?> NULL
public final XBooleanLinkedHashMap.Entry<V> getNext()
getNext in interface XCollection.Recordpublic final XBooleanLinkedHashMap.Entry<V> getPrevious()
getPrevious in interface XCollection.Recordpublic final boolean getKey()
getKey in interface XBooleanMap.Entry<V>public final V getValue()
getValue in interface XBooleanMap.Entry<V>public final V setValue(V value)
setValue in interface XBooleanMap.Entry<V>value - the new value.public boolean equals(Object that)
equals in interface XBooleanMap.Entry<V>equals in class Objectthat - the object to test for equality.true if both entry have equal keys and values.
false otherwise.public int hashCode()
hashCode in interface XBooleanMap.Entry<V>hashCode in class ObjectCopyright © 2019 Neeve Research, LLC. All Rights Reserved.