org.apache.commons.collections

Class BeanMap.MyMapEntry

Enclosing Class:
BeanMap
Implemented Interfaces:
Map.Entry

protected static class BeanMap.MyMapEntry
extends DefaultMapEntry

Map entry used by BeanMap.

Constructor Summary

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

Method Summary

Object
setValue(Object value)
Sets the value.

Methods inherited from class org.apache.commons.collections.DefaultMapEntry

equals, getKey, getValue, hashCode, setKey, setValue

Constructor Details

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 Details

setValue

public Object setValue(Object value)
Sets the value.
Overrides:
setValue in interface DefaultMapEntry
Parameters:
value - the new value for the entry
Returns:
the old value for the entry

Copyright © 2001-2004 Apache Software Foundation. Documenation generated ${TODAY}.