org.springframework.util
Class ConcurrentReferenceHashMap.Entry<K,V>
java.lang.Object
org.springframework.util.ConcurrentReferenceHashMap.Entry<K,V>
- All Implemented Interfaces:
- java.util.Map.Entry<K,V>
- Enclosing class:
- ConcurrentReferenceHashMap<K,V>
protected static final class ConcurrentReferenceHashMap.Entry<K,V>
- extends java.lang.Object
- implements java.util.Map.Entry<K,V>
A single map entry.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ConcurrentReferenceHashMap.Entry
public ConcurrentReferenceHashMap.Entry(K key,
V value)
getKey
public K getKey()
- Specified by:
getKey
in interface java.util.Map.Entry<K,V>
getValue
public V getValue()
- Specified by:
getValue
in interface java.util.Map.Entry<K,V>
setValue
public V setValue(V value)
- Specified by:
setValue
in interface java.util.Map.Entry<K,V>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public final boolean equals(java.lang.Object other)
- Specified by:
equals
in interface java.util.Map.Entry<K,V>
- Overrides:
equals
in class java.lang.Object
hashCode
public final int hashCode()
- Specified by:
hashCode
in interface java.util.Map.Entry<K,V>
- Overrides:
hashCode
in class java.lang.Object