|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javawebparts.core.CaseInsensitiveMap.KeyAndValue
Inner class used to store a key-value pair. When a key and value are passed to this Map, we store the lowercased key in an internal Map, to have the case-insensitive behaviour. However, we will need the original key (original casing) as well, so in the value of the internal Map we store a KeyAndValue object, that has the original key and the value.
Field Summary | |
private java.lang.Object |
key
|
private java.lang.Object |
value
|
Constructor Summary | |
CaseInsensitiveMap.KeyAndValue(java.lang.Object inKey,
java.lang.Object inValue)
Creates a new KeyAndValue objects using the passed in key and value. |
Method Summary | |
java.lang.Object |
getKey()
Returns the key. |
java.lang.Object |
getValue()
Returns the value. |
void |
setValue(java.lang.Object newValue)
Set the value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.Object key
private java.lang.Object value
Constructor Detail |
public CaseInsensitiveMap.KeyAndValue(java.lang.Object inKey, java.lang.Object inValue)
inKey
- the key to be used.inValue
- the value to be used.Method Detail |
public java.lang.Object getKey()
public java.lang.Object getValue()
public void setValue(java.lang.Object newValue)
newValue
- the value to be set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |