Class AbstractMapEntryDecorator<K,V>

java.lang.Object
org.apache.openjpa.lib.util.collections.AbstractMapEntryDecorator<K,V>
Type Parameters:
K - the type of keys
V - the type of mapped values
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
  • 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