org.springframework.util

Class ConcurrentReferenceHashMap.Entry<K,V>

  • java.lang.Object
    • org.springframework.util.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 and Description
      Entry(K key, V value) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object other) 
      K getKey() 
      V getValue() 
      int hashCode() 
      V setValue(V value) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map.Entry

        comparingByKey, comparingByKey, comparingByValue, comparingByValue
    • Method Detail

      • getKey

        @Nullable
        public K getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<K,V>
      • getValue

        @Nullable
        public V getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<K,V>
      • setValue

        @Nullable
        public V setValue(@Nullable
                                    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