|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javawebparts.core.CaseInsensitiveMap.FakeEntry
Our Map.Entry implementation used in the Set returned by the
entrySet() method.
This implementation wraps the internal Maps Map.Entry so
it can return the original key from the value component of the internal
Map.
| Field Summary | |
private java.util.Map.Entry |
entry
|
| Constructor Summary | |
(package private) |
CaseInsensitiveMap.FakeEntry(java.util.Map.Entry sourceEntry)
Constructs a new Entry by wrapping the passed in Map.Entry |
| Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if this Map.Entry is equal to the Object
passed in. |
java.lang.Object |
getKey()
Returns the key of the entry. |
java.lang.Object |
getValue()
Returns the value of the entry. |
int |
hashCode()
Returns the hash code of the object. |
java.lang.Object |
setValue(java.lang.Object newValue)
Sets the value of the entry. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Map.Entry entry
| Constructor Detail |
CaseInsensitiveMap.FakeEntry(java.util.Map.Entry sourceEntry)
sourceEntry - the Map.Entry to be wrapped| Method Detail |
public java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic java.lang.Object setValue(java.lang.Object newValue)
setValue in interface java.util.Map.EntrynewValue - the new value to be set.
public boolean equals(java.lang.Object o)
true if this Map.Entry is equal to the Object
passed in.
equals in interface java.util.Map.Entryequals in class java.lang.Objecto - the Object to compare against
true if this Map.Entry is equal to the Map.Entry
passed in.public int hashCode()
hashCode in interface java.util.Map.EntryhashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||