java.lang.Object
|
+--org.apache.commons.collections.keyvalue.AbstractKeyValue
|
+--org.apache.commons.collections.keyvalue.AbstractMapEntry
|
+--org.apache.commons.collections.keyvalue.UnmodifiableMapEntry
All Implemented Interfaces:UnmodifiableMapEntry(final Object key, final Object value) Constructs a new entry with the specified key and given value. |
UnmodifiableMapEntry(final KeyValue pair) Constructs a new entry from the specified KeyValue. |
UnmodifiableMapEntry(final Map.Entry entry) Constructs a new entry from the specified MapEntry. |
Object | setValue(Object value) Throws UnsupportedOperationException. |
public UnmodifiableMapEntry(final KeyValue pair)
- if the entry is nullpublic UnmodifiableMapEntry(final Map.Entry entry)
- if the entry is nullpublic UnmodifiableMapEntry(final Object key, final Object value)
public Object setValue(Object value)
- always
setValueis called.