org.codehaus.plexus.util
private static final class FastMap.EntryImpl extends Object implements Entry
Field Summary | |
---|---|
FastMap.EntryImpl | _after
Holds the entry added after this entry
or the next available entry when in pool. |
FastMap.EntryImpl | _before
Holds the entry added before this entry (null when in pool). |
int | _index
Holds the bucket index (undefined when in pool). |
Object | _key
Holds the entry key (null when in pool). |
FastMap.EntryImpl | _next
Holds the next entry in the same bucket (null when in pool). |
FastMap.EntryImpl | _previous
Holds the previous entry in the same bucket (null when in pool). |
Object | _value
Holds the entry value (null when in pool). |
Method Summary | |
---|---|
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.
|
Parameters: that the object to test for equality.
Returns: true
if both entry are considered equal;
false
otherwise.
Returns: the entry's key.
Returns: the entry's value.
Returns: this entry's hash code.
Parameters: value the new value.
Returns: the previous value.
Returns: this entry's textual representation.