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
ConstructorsModifierConstructorDescriptionprotectedMyMapEntry(BeanMap owner, Object key, Object value) Constructs a newMyMapEntry. -
Method Summary
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractMapEntry
equals, hashCodeMethods 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:
setValuein interfaceMap.Entry- Overrides:
setValuein classAbstractMapEntry- Parameters:
value- the new value for the entry- Returns:
- the old value for the entry
-