com.github.drinkjava2.jdialects.springsrc.utils
Class ConcurrentReferenceHashMap.Entry<K,V>

java.lang.Object
  extended by 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.


Constructor Summary
ConcurrentReferenceHashMap.Entry(K key, V value)
           
 
Method Summary
 boolean equals(Object other)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 V setValue(V value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentReferenceHashMap.Entry

public ConcurrentReferenceHashMap.Entry(K key,
                                        V value)
Method Detail

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.