Class AbstractMapEntryDecorator<K,V>

java.lang.Object
org.apache.commons.collections4.keyvalue.AbstractMapEntryDecorator<K,V>
All Implemented Interfaces:
Map.Entry<K,V>, KeyValue<K,V>
Direct Known Subclasses:
AbstractDualBidiMap.MapEntry

public abstract class AbstractMapEntryDecorator<K,V> extends Object implements Map.Entry<K,V>, KeyValue<K,V>
Provides a base decorator that allows additional functionality to be added to a Map.Entry.
Since:
3.0
Version:
$Id: AbstractMapEntryDecorator.java 1686855 2015-06-22 13:00:27Z tn $
  • Constructor Details

    • AbstractMapEntryDecorator

      public AbstractMapEntryDecorator(Map.Entry<K,V> entry)
      Constructor that wraps (not copies).
      Parameters:
      entry - the Map.Entry to decorate, must not be null
      Throws:
      NullPointerException - if the collection is null
  • Method Details