java.util.Map.Entry
, KeyValue
protected static class BeanMap.MyMapEntry extends AbstractMapEntry
BeanMap
.key, value
Modifier | Constructor | Description |
---|---|---|
protected |
MyMapEntry(BeanMap owner,
java.lang.Object key,
java.lang.Object value) |
Constructs a new
MyMapEntry . |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
setValue(java.lang.Object value) |
Sets the value.
|
getKey, getValue, toString
equals, hashCode
protected MyMapEntry(BeanMap owner, java.lang.Object key, java.lang.Object value)
MyMapEntry
.owner
- the BeanMap this entry belongs tokey
- the key for this entryvalue
- the value for this entrypublic java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
setValue
in class AbstractMapEntry
value
- the new value for the entryCopyright © 2001-2017 Apache Software Foundation. All Rights Reserved.