Keel 2.1RC2

org.apache.commons.collections
Class SoftRefHashMap.Entry

java.lang.Object
  extended byorg.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
 
Constructor Summary
SoftRefHashMap.Entry(java.lang.Object key, java.lang.Object value)
          Constructor
 
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
 

Field Detail

key

private java.lang.Object key
The domain of this mapping


value

private java.lang.Object value
The range of this mapping

Constructor Detail

SoftRefHashMap.Entry

public SoftRefHashMap.Entry(java.lang.Object key,
                            java.lang.Object value)
Constructor

Method Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.