org.apache.commons.collections.bidimap
Class AbstractDualBidiMap.MapEntry<K,V>

java.lang.Object
  extended by org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator<K,V>
      extended by org.apache.commons.collections.bidimap.AbstractDualBidiMap.MapEntry<K,V>
All Implemented Interfaces:
Map.Entry<K,V>, KeyValue<K,V>
Enclosing class:
AbstractDualBidiMap<K,V>

protected static class AbstractDualBidiMap.MapEntry<K,V>
extends AbstractMapEntryDecorator<K,V>

Inner class MapEntry.


Field Summary
protected  AbstractDualBidiMap<K,V> parent
          The parent map
 
Fields inherited from class org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
entry
 
Constructor Summary
protected AbstractDualBidiMap.MapEntry(Map.Entry<K,V> entry, AbstractDualBidiMap<K,V> parent)
          Constructor.
 
Method Summary
 V setValue(V value)
           
 
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
equals, getKey, getMapEntry, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

protected final AbstractDualBidiMap<K,V> parent
The parent map

Constructor Detail

AbstractDualBidiMap.MapEntry

protected AbstractDualBidiMap.MapEntry(Map.Entry<K,V> entry,
                                       AbstractDualBidiMap<K,V> parent)
Constructor.

Parameters:
entry - the entry to decorate
parent - the parent map
Method Detail

setValue

public V setValue(V value)
Specified by:
setValue in interface Map.Entry<K,V>
Overrides:
setValue in class AbstractMapEntryDecorator<K,V>


Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.