{
X xxx; // Additional entry field (e.g. cross references).
}
}[/code]
NULL
public static final XIntLinkedHashMap.Entry<?> NULL
- Holds NULL entries (to fill empty hole).
getNext
public final XIntLinkedHashMap.Entry<V> getNext()
- Returns the entry after this one.
- Specified by:
getNext
in interface XCollection.Record
- Returns:
- the next entry.
getPrevious
public final XIntLinkedHashMap.Entry<V> getPrevious()
- Returns the entry before this one.
- Specified by:
getPrevious
in interface XCollection.Record
- Returns:
- the previous entry.
getKey
public final int getKey()
- Returns the key for this entry.
- Specified by:
getKey
in interface XIntMap.Entry<V>
- Returns:
- the entry key.
getValue
public final V getValue()
- Returns the value for this entry.
- Specified by:
getValue
in interface XIntMap.Entry<V>
- Returns:
- the entry value.
setValue
public final V setValue(V value)
- Sets the value for this entry.
- Specified by:
setValue
in interface XIntMap.Entry<V>
- Parameters:
value
- the new value.
- Returns:
- the previous value.
equals
public 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).
- Specified by:
equals
in interface XIntMap.Entry<V>
- Overrides:
equals
in class Object
- Parameters:
that
- the object to test for equality.
- Returns:
true if both entry have equal keys and values.
false otherwise.
hashCode
public int hashCode()
- Returns the hash code for this entry.
- Specified by:
hashCode
in interface XIntMap.Entry<V>
- Overrides:
hashCode
in class Object
- Returns:
- this entry hash code.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.