org.codehaus.plexus.util
Class FastMap.EntryImpl
java.lang.Object
org.codehaus.plexus.util.FastMap.EntryImpl
- FastMap
- Map.Entry
private static final class FastMap.EntryImpl
extends java.lang.Object
implements Map.Entry
This class represents a
FastMap
entry.
private FastMap.EntryImpl | _after - Holds the entry added after this entry
or the next available entry when in pool.
|
private FastMap.EntryImpl | _before - Holds the entry added before this entry (null when in pool).
|
private int | _index - Holds the bucket index (undefined when in pool).
|
private Object | _key - Holds the entry key (null when in pool).
|
private FastMap.EntryImpl | _next - Holds the next entry in the same bucket (null when in pool).
|
private FastMap.EntryImpl | _previous - Holds the previous entry in the same bucket (null when in pool).
|
private Object | _value - Holds the entry value (null when in pool).
|
boolean | equals(Object that) - Indicates if this entry is considered equals to the specified
entry.
|
Object | getKey() - Returns the key for this entry.
|
Object | getValue() - Returns the value for this entry.
|
int | hashCode() - Returns the hash code for this entry.
|
Object | setValue(Object value) - Sets the value for this entry.
|
String | toString() - Returns the text representation of this entry.
|
_after
private FastMap.EntryImpl _after
Holds the entry added after this entry
or the next available entry when in pool.
_before
private FastMap.EntryImpl _before
Holds the entry added before this entry (null when in pool).
_index
private int _index
Holds the bucket index (undefined when in pool).
_key
private Object _key
Holds the entry key (null when in pool).
_next
private FastMap.EntryImpl _next
Holds the next entry in the same bucket (null when in pool).
_previous
private FastMap.EntryImpl _previous
Holds the previous entry in the same bucket (null when in pool).
_value
private Object _value
Holds the entry value (null when in pool).
equals
public boolean equals(Object that)
Indicates if this entry is considered equals to the specified
entry.
that
- the object to test for equality.
true
if both entry are considered equal;
false
otherwise.
getKey
public Object getKey()
Returns the key for this entry.
getValue
public Object getValue()
Returns the value for this entry.
hashCode
public int hashCode()
Returns the hash code for this entry.
setValue
public Object setValue(Object value)
Sets the value for this entry.
toString
public String toString()
Returns the text representation of this entry.
- this entry's textual representation.