org.apache.commons.collections.keyvalue
public abstract class AbstractMapEntryDecorator extends Object implements Entry, KeyValue
java.util.Map.Entry Map.Entry
.
Since: Commons Collections 3.0
Version: $Revision: 405927 $ $Date: 2006-05-12 23:57:03 +0100 (Fri, 12 May 2006) $
Field Summary | |
---|---|
protected Entry | entry The Map.Entry to decorate |
Constructor Summary | |
---|---|
AbstractMapEntryDecorator(Entry entry)
Constructor that wraps (not copies).
|
Method Summary | |
---|---|
boolean | equals(Object object) |
Object | getKey() |
protected Entry | getMapEntry()
Gets the map being decorated.
|
Object | getValue() |
int | hashCode() |
Object | setValue(Object object) |
String | toString() |
Map.Entry
to decorateParameters: entry the Map.Entry
to decorate, must not be null
Throws: IllegalArgumentException if the collection is null
Returns: the decorated map