Class AbstractMapEntryDecorator

java.lang.Object
org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
All Implemented Interfaces:
Map.Entry, KeyValue
Direct Known Subclasses:
AbstractDualBidiMap.MapEntry

public abstract class AbstractMapEntryDecorator extends Object implements Map.Entry, KeyValue
Provides a base decorator that allows additional functionality to be added to a Map.Entry.
Since:
Commons Collections 3.0
Version:
$Revision: 646777 $ $Date: 2008-04-10 14:33:15 +0200 (Thu, 10 Apr 2008) $
Author:
Stephen Colebourne
  • Field Details

    • entry

      protected final Map.Entry entry
      The Map.Entry to decorate
  • Constructor Details

    • AbstractMapEntryDecorator

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