Class WeakReferenceMap<K,​V>

  • All Implemented Interfaces:
    java.util.Map<K,​V>

    public class WeakReferenceMap<K,​V>
    extends ReferenceMap<K,​V>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      WeakReferenceMap​(java.util.Map<K,​java.lang.ref.Reference<V>> delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.ref.Reference<V> fold​(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

        compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • WeakReferenceMap

        public WeakReferenceMap​(java.util.Map<K,​java.lang.ref.Reference<V>> delegate)
    • Method Detail

      • fold

        java.lang.ref.Reference<V> fold​(V value)
        Specified by:
        fold in class ReferenceMap<K,​V>