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: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $
| 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