java.lang.Object |
↳ |
org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator |
Known Direct Subclasses
|
Class Overview
Provides a base decorator that allows additional functionality to be
added to a java.util.Map.Entry Map.Entry.
Summary
Fields |
protected
final
Entry |
entry |
The Map.Entry to decorate |
Fields
protected
final
Entry
entry
The Map.Entry
to decorate
Public Constructors
public
AbstractMapEntryDecorator
(Entry entry)
Constructor that wraps (not copies).
Parameters
entry
| the Map.Entry to decorate, must not be null |
Public Methods
public
boolean
equals
(Object object)
public
Object
getKey
()
Gets the key from the pair.
public
Object
getValue
()
Gets the value from the pair.
Protected Methods
protected
Entry
getMapEntry
()
Gets the map being decorated.