java.lang.Object | +--org.apache.commons.collections.keyvalue.TiedMapEntryAll Implemented Interfaces:
TiedMapEntry(Map map, Object key) Constructs a new entry with the given Map and key. |
boolean | equals(Object obj) Compares this Map Entry with another Map Entry. |
Object | getKey() Gets the key of this entry |
Object | getValue() Gets the value of this entry direct from the map. |
int | hashCode() Gets a hashCode compatible with the equals method. |
Object | setValue(Object value) Sets the value associated with the key direct onto the map. |
String | toString() Gets a string version of the entry. |
public TiedMapEntry(Map map, Object key)
public boolean equals(Object obj)
public Object getKey()
public Object getValue()
public int hashCode()
public Object setValue(Object value)
- if the value is set to this map entrypublic String toString()