| java.lang.Object org.apache.commons.chain.web.MapEntry
MapEntry | public class MapEntry implements Map.Entry(Code) | | Map.Entry implementation that can be constructed to either be read-only
or not.
version: $Revision: 155403 $ $Date: 2005-02-26 12:52:46 +0000 (Sat, 26 Feb 2005) $ |
MapEntry | public MapEntry(Object key, Object value, boolean modifiable)(Code) | | Creates a map entry that can either allow modifications or not.
Parameters: key - The entry key Parameters: value - The entry value Parameters: modifiable - Whether the entry should allow modification or not |
equals | public boolean equals(Object o)(Code) | | Determines if this entry is equal to the passed object.
Parameters: o - The object to test True if equal, else false |
getKey | public Object getKey()(Code) | | Gets the entry key.
The entry key |
getValue | public Object getValue()(Code) | | Gets the entry value.
The entry key |
hashCode | public int hashCode()(Code) | | Returns the hashcode for this entry.
The and'ed hashcode of the key and value |
|
|