net.sf.molae.pipe.basic
Class DefaultMapEntry

java.lang.Object
  |
  +--net.sf.molae.pipe.basic.AbstractMapEntry
        |
        +--net.sf.molae.pipe.basic.DefaultMapEntry
All Implemented Interfaces:
Map.Entry

public final class DefaultMapEntry
extends AbstractMapEntry

A bean with two properties: key(inherited from AbstractMapEntry) and value. Intended for map implementations that use the map entry to store the values.


Constructor Summary
DefaultMapEntry(Object key, Object value)
          Constructs a new DefaultMapEntry object.
 
Method Summary
 Object getValue()
          Returns the value of the value property.
 Object setValue(Object value)
          Sets the value of the value property.
 
Methods inherited from class net.sf.molae.pipe.basic.AbstractMapEntry
equals, getKey, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMapEntry

public DefaultMapEntry(Object key,
                       Object value)
Constructs a new DefaultMapEntry object.
Parameters:
key - the key corresponding to this entry.
value - the value corresponding to this entry.
Method Detail

getValue

public Object getValue()
Returns the value of the value property.
Overrides:
getValue in class AbstractMapEntry
Returns:
the value of the value property
See Also:
setValue(java.lang.Object)

setValue

public Object setValue(Object value)
Sets the value of the value property.
Overrides:
setValue in class AbstractMapEntry
See Also:
getValue()