Class ListOrderedMap.ListOrderedMapEntry<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.keyvalue.AbstractKeyValue<K,V>
-
- org.apache.commons.collections4.keyvalue.AbstractMapEntry<K,V>
-
- org.apache.commons.collections4.map.ListOrderedMap.ListOrderedMapEntry<K,V>
-
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
,KeyValue<K,V>
- Enclosing class:
- ListOrderedMap<K,V>
static class ListOrderedMap.ListOrderedMapEntry<K,V> extends AbstractMapEntry<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private ListOrderedMap<K,V>
parent
-
Constructor Summary
Constructors Constructor Description ListOrderedMapEntry(ListOrderedMap<K,V> parent, K key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getValue()
Gets the value from the pair.V
setValue(V value)
Sets the value stored in thisMap.Entry
.-
Methods inherited from class org.apache.commons.collections4.keyvalue.AbstractMapEntry
equals, hashCode
-
Methods inherited from class org.apache.commons.collections4.keyvalue.AbstractKeyValue
getKey, setKey, toString
-
-
-
-
Field Detail
-
parent
private final ListOrderedMap<K,V> parent
-
-
Constructor Detail
-
ListOrderedMapEntry
ListOrderedMapEntry(ListOrderedMap<K,V> parent, K key)
-
-
Method Detail
-
getValue
public V getValue()
Description copied from class:AbstractKeyValue
Gets the value from the pair.
-
setValue
public V setValue(V value)
Description copied from class:AbstractMapEntry
Sets the value stored in thisMap.Entry
.This
Map.Entry
is not connected to a Map, so only the local data is changed.
-
-