Package org.apache.commons.collections4.bidimap

# Class AbstractDualBidiMap.MapEntry<K,V>

java.lang.Object
org.apache.commons.collections4.keyvalue.AbstractMapEntryDecorator<K,V>
org.apache.commons.collections4.bidimap.AbstractDualBidiMap.MapEntry<K,V>

Type Parameters:
  `K` - the type of the keys.
  `V` - the type of the values.

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

  Fields
  Modifier and Type
  Field
  Description
  `protected final AbstractDualBidiMap<K,V>`
  `parent`
  The parent map

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `MapEntry(Map.Entry<K,V> entry, AbstractDualBidiMap<K,V> parent)`
  Constructs a new instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `V`
  `setValue(V value)`

  ### Methods inherited from class org.apache.commons.collections4.keyvalue.AbstractMapEntryDecorator

  `equals, getKey, getMapEntry, getValue, hashCode, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### parent

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

- ## Constructor Details

  - ### MapEntry

    protected MapEntry(Map.Entry<K,V> entry, AbstractDualBidiMap<K,V> parent)
    Constructs a new instance.
    Parameters:
      `entry` - the entry to decorate
      `parent` - the parent map

- ## Method Details

  - ### setValue

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