org.apache.commons.collections.keyvalue
public final class DefaultMapEntry extends AbstractMapEntry
Since: Commons Collections 3.0
Version: $Revision: 1.3 $ $Date: 2004/02/18 01:00:08 $
Constructor Summary | |
---|---|
DefaultMapEntry(Object key, Object value)
Constructs a new entry with the specified key and given value.
| |
DefaultMapEntry(KeyValue pair)
Constructs a new entry from the specified KeyValue.
| |
DefaultMapEntry(Entry entry)
Constructs a new entry from the specified MapEntry.
|
Parameters: key the key for the entry, may be null value the value for the entry, may be null
Parameters: pair the pair to copy, must not be null
Throws: NullPointerException if the entry is null
Parameters: entry the entry to copy, must not be null
Throws: NullPointerException if the entry is null