org.apache.commons.collections

Class BeanMap.MyMapEntry

protected static class BeanMap.MyMapEntry extends AbstractMapEntry

Map entry used by BeanMap.
Constructor Summary
protected MyMapEntry(BeanMap owner, Object key, Object value)
Constructs a new MyMapEntry.
Method Summary
ObjectsetValue(Object value)
Sets the value.

Constructor Detail

MyMapEntry

protected MyMapEntry(BeanMap owner, Object key, Object value)
Constructs a new MyMapEntry.

Parameters: owner the BeanMap this entry belongs to key the key for this entry value the value for this entry

Method Detail

setValue

public Object setValue(Object value)
Sets the value.

Parameters: value the new value for the entry

Returns: the old value for the entry

Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.