org.pentaho.reporting.libraries.base.util
protected static final class LinkedMap.MapEntry extends Object implements Serializable
Field Summary | |
---|---|
protected LinkedMap.MapEntry | collisionNext
The link to the next entry in the bucket that has the same hashkey. |
protected int | hashKey
The precomputed hashkey of the key. |
protected Object | key
The key object, which is never null and which never changes. |
protected LinkedMap.MapEntry | next
The link to the next entry in the list. |
protected LinkedMap.MapEntry | previous
The link to the previous entry in the list. |
protected Object | value
The current value object (can be null). |
Constructor Summary | |
---|---|
protected | MapEntry(Object key, int hashKey, Object value)
Creates a new map-entry for the given key and value.
|
Method Summary | |
---|---|
LinkedMap.MapEntry | getCollisionNext()
Returns the next map-entry in the bucket. |
LinkedMap.MapEntry | getNext()
Returns the next entry in the list or null if this is the last entry.
|
LinkedMap.MapEntry | getPrevious()
Returns the previous entry in the list or null if this is the first entry.
|
Object | getValue()
Returns the current value.
|
void | setCollisionNext(LinkedMap.MapEntry collisionNext)
Defines the next map-entry in the bucket. |
void | setNext(LinkedMap.MapEntry next)
Redefines the next entry in the list or null if this is the last entry.
|
void | setPrevious(LinkedMap.MapEntry previous)
Redefines the previous entry in the list or null if this is the first entry.
|
void | setValue(Object value)
Redefines the current value.
|
Parameters: key the key, never null. hashKey the precomputed hashkey for the key. value the value, never null.
Returns: the next entry.
Returns: the next entry.
Returns: the previous entry.
Returns: the value, never null.
Parameters: collisionNext the next entry.
Parameters: next the next entry.
Parameters: previous the previous entry.
Parameters: value the value, never null.