com.github.drinkjava2.jdialects.springsrc.utils
Class ConcurrentReferenceHashMap.Entry<K,V>
java.lang.Object
com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry<K,V>
- All Implemented Interfaces:
- Map.Entry<K,V>
- Enclosing class:
- ConcurrentReferenceHashMap<K,V>
protected static final class ConcurrentReferenceHashMap.Entry<K,V>
- extends Object
- implements Map.Entry<K,V>
A single map entry.
ConcurrentReferenceHashMap.Entry
public ConcurrentReferenceHashMap.Entry(K key,
V value)
getKey
public K getKey()
- Specified by:
getKey in interface Map.Entry<K,V>
getValue
public V getValue()
- Specified by:
getValue in interface Map.Entry<K,V>
setValue
public V setValue(V value)
- Specified by:
setValue in interface Map.Entry<K,V>
toString
public String toString()
- Overrides:
toString in class Object
equals
public final boolean equals(Object other)
- Specified by:
equals in interface Map.Entry<K,V>- Overrides:
equals in class Object
hashCode
public final int hashCode()
- Specified by:
hashCode in interface Map.Entry<K,V>- Overrides:
hashCode in class Object
Copyright © 2018. All rights reserved.