|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.FastMap.EntryImpl
private static final class FastMap.EntryImpl
This class represents a FastMap
entry.
Field Summary | |
---|---|
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 java.lang.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 java.lang.Object |
_value
Holds the entry value (null when in pool). |
Constructor Summary | |
---|---|
private |
FastMap.EntryImpl()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object that)
Indicates if this entry is considered equals to the specified entry. |
java.lang.Object |
getKey()
Returns the key for this entry. |
java.lang.Object |
getValue()
Returns the value for this entry. |
int |
hashCode()
Returns the hash code for this entry. |
java.lang.Object |
setValue(java.lang.Object value)
Sets the value for this entry. |
java.lang.String |
toString()
Returns the text representation of this entry. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.Object _key
private java.lang.Object _value
private int _index
private FastMap.EntryImpl _previous
private FastMap.EntryImpl _next
private FastMap.EntryImpl _before
private FastMap.EntryImpl _after
Constructor Detail |
---|
private FastMap.EntryImpl()
Method Detail |
---|
public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
value
- the new value.
public boolean equals(java.lang.Object that)
equals
in interface java.util.Map.Entry
equals
in class java.lang.Object
that
- the object to test for equality.
true if both entry are considered equal;
false otherwise.
public int hashCode()
hashCode
in interface java.util.Map.Entry
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |