Class AbstractWeakValueMap.GeneratedEntry

  • All Implemented Interfaces:
    java.util.Map.Entry<K,​V>
    Enclosing class:
    AbstractWeakValueMap<K,​V>

    protected class AbstractWeakValueMap.GeneratedEntry
    extends java.lang.Object
    implements java.util.Map.Entry<K,​V>
    An entry for the "entrySet" method, since internally, entries are of weak-referenced values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      K getKey()  
      V getValue()  
      V setValue​(V value)  
      • Methods inherited from class java.lang.Object

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

        equals, hashCode
    • 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>