org.apache.commons.collections
Class BeanMap.MyMapEntry
java.lang.Object
|
+--org.apache.commons.collections.DefaultMapEntry
|
+--org.apache.commons.collections.BeanMap.MyMapEntry
- All Implemented Interfaces:
- Map.Entry
- Enclosing class:
- BeanMap
- protected static class BeanMap.MyMapEntry
- extends DefaultMapEntry
Map entry used by BeanMap
.
BeanMap.MyMapEntry
protected BeanMap.MyMapEntry(BeanMap owner,
Object key,
Object value)
- Constructs a new
MyMapEntry
.
- Parameters:
owner
- the BeanMap this entry belongs tokey
- the key for this entryvalue
- the value for this entry
setValue
public Object setValue(Object value)
- Sets the value.
- Specified by:
setValue
in interface Map.Entry
- Overrides:
setValue
in class DefaultMapEntry
- Parameters:
value
- the new value for the entry
- Returns:
- the old value for the entry
Copyright © 2001-2002 Apache Software Foundation. Documenation generated February 22 2003.