org.apache.commons.collections
Class BeanMap.MyMapEntry

java.lang.Object
  |
  +--org.apache.commons.collections.DefaultMapEntry
        |
        +--org.apache.commons.collections.BeanMap.MyMapEntry
Enclosing class:
BeanMap

protected static class BeanMap.MyMapEntry
extends DefaultMapEntry

Map entry used by BeanMap.


Constructor Summary
protected BeanMap.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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanMap.MyMapEntry

protected BeanMap.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.
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 October 21 2002.