org.apache.commons.collections.keyvalue
public abstract class AbstractMapEntryDecorator extends Object implements Entry, KeyValue
Since: Commons Collections 3.0
Version: $Revision: 1.4 $ $Date: 2004/02/18 01:00:08 $
| 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