org.apache.commons.collections
Class SoftRefHashMap.Entry
java.lang.Object
org.apache.commons.collections.SoftRefHashMap.Entry
- All Implemented Interfaces:
- java.util.Map.Entry
- Enclosing class:
- SoftRefHashMap
- class SoftRefHashMap.Entry
- extends java.lang.Object
- implements java.util.Map.Entry
A map entry, which is backed by this RefHashMap
| Field Summary |
private java.lang.Object |
key
The domain of this mapping |
private java.lang.Object |
value
The range of this mapping |
| Method Summary |
java.lang.Object |
getKey()
Retrieves the key of this mapping |
java.lang.Object |
getValue()
Retrieves the value of this mapping |
int |
hashCode()
Return the hash code of this mapping. |
java.lang.Object |
setValue(java.lang.Object value)
Sets the value of this mapping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
equals |
key
private java.lang.Object key
-
The domain of this mapping
value
private java.lang.Object value
-
The range of this mapping
SoftRefHashMap.Entry
public SoftRefHashMap.Entry(java.lang.Object key,
java.lang.Object value)
-
Constructor
getKey
public java.lang.Object getKey()
-
Retrieves the key of this mapping
-
- Specified by:
getKey in interface java.util.Map.Entry
-
getValue
public java.lang.Object getValue()
-
Retrieves the value of this mapping
-
- Specified by:
getValue in interface java.util.Map.Entry
-
setValue
public java.lang.Object setValue(java.lang.Object value)
-
Sets the value of this mapping
-
- Specified by:
setValue in interface java.util.Map.Entry
-
hashCode
public int hashCode()
-
Return the hash code of this mapping. This algorithm was taken from the JavaDoc for Map.Entry
-
- Specified by:
hashCode in interface java.util.Map.Entry
-
Please see keelframework.org for information about new Keel releases.