Class AbstractMapEntryDecorator<K,V>
java.lang.Object
org.apache.commons.collections4.keyvalue.AbstractMapEntryDecorator<K,V>
- Type Parameters:
K
- the type of keysV
- the type of mapped values
- Direct Known Subclasses:
AbstractDualBidiMap.MapEntry
,AbstractInputCheckedMapDecorator.MapEntry
,UnmodifiableEntrySet.UnmodifiableEntry
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
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMapEntryDecorator
(Map.Entry<K, V> entry) Constructor that wraps (not copies). -
Method Summary
-
Field Details
-
entry
TheMap.Entry
to decorate
-
-
Constructor Details
-
AbstractMapEntryDecorator
Constructor that wraps (not copies).- Parameters:
entry
- theMap.Entry
to decorate, must not be null- Throws:
NullPointerException
- if the collection is null
-
-
Method Details