Class ConcurrentReferenceHashMap.Entry<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type
    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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(K key, V value)  
    • Constructor Detail

      • Entry

        public Entry​(K key,
                     V value)
    • Method Detail

      • 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