org.apache.commons.beanutils
Class BeanMap.Entry
java.lang.Object
org.apache.commons.collections.keyvalue.AbstractKeyValue
org.apache.commons.collections.keyvalue.AbstractMapEntry
org.apache.commons.beanutils.BeanMap.Entry
- All Implemented Interfaces:
- Map.Entry, KeyValue
- Enclosing class:
- BeanMap
protected static class BeanMap.Entry
- extends AbstractMapEntry
Map entry used by BeanMap
.
BeanMap.Entry
protected BeanMap.Entry(BeanMap owner,
Object key,
Object value)
- Constructs a new
Entry
.
- 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 AbstractMapEntry
- Parameters:
value
- the new value for the entry
- Returns:
- the old value for the entry
Copyright © 2000-2009 The Apache Software Foundation. All Rights Reserved.