Class AbstractMultiValuedMap.MultiValuedMapEntry

java.lang.Object
org.apache.commons.collections4.keyvalue.AbstractKeyValue<K,V>
org.apache.commons.collections4.keyvalue.AbstractMapEntry<K,V>
org.apache.commons.collections4.multimap.AbstractMultiValuedMap.MultiValuedMapEntry
All Implemented Interfaces:
Map.Entry<K,V>, KeyValue<K,V>
Enclosing class:
AbstractMultiValuedMap<K,V>

private class AbstractMultiValuedMap.MultiValuedMapEntry extends AbstractMapEntry<K,V>
Inner class for MultiValuedMap Entries.
  • Constructor Details

    • MultiValuedMapEntry

      public MultiValuedMapEntry(K key, V value)
  • Method Details

    • setValue

      public V setValue(V value)
      Description copied from class: AbstractMapEntry
      Sets the value stored in this Map.Entry.

      This Map.Entry is not connected to a Map, so only the local data is changed.

      Specified by:
      setValue in interface Map.Entry<K,V>
      Overrides:
      setValue in class AbstractMapEntry<K,V>
      Parameters:
      value - the new value
      Returns:
      the previous value