Package org.apache.commons.collections
Class BeanMap.MyMapEntry
java.lang.Object
org.apache.commons.collections.keyvalue.AbstractKeyValue
org.apache.commons.collections.keyvalue.AbstractMapEntry
org.apache.commons.collections.BeanMap.MyMapEntry
- Enclosing class:
- BeanMap
Map entry used by
BeanMap
.-
Field Summary
Fields inherited from class org.apache.commons.collections.keyvalue.AbstractKeyValue
key, value
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MyMapEntry
(BeanMap owner, Object key, Object value) Constructs a newMyMapEntry
. -
Method Summary
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractMapEntry
equals, hashCode
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractKeyValue
getKey, getValue, toString
-
Constructor Details
-
MyMapEntry
Constructs a newMyMapEntry
.- Parameters:
owner
- the BeanMap this entry belongs tokey
- the key for this entryvalue
- the value for this entry
-
-
Method Details
-
setValue
Sets the value.- Specified by:
setValue
in interfaceMap.Entry
- Overrides:
setValue
in classAbstractMapEntry
- Parameters:
value
- the new value for the entry- Returns:
- the old value for the entry
-