Class DoubleWeakHashMap

java.lang.Object
com.mchange.v2.util.DoubleWeakHashMap
All Implemented Interfaces:
Map

public class DoubleWeakHashMap extends Object implements Map

This class is not Thread safe. Use in single threaded contexts, or contexts where single threaded-access can be guaranteed, or wrap with Collections.synchronizedMap().

This class does not accept null keys or values.

  • Constructor Details

    • DoubleWeakHashMap

      public DoubleWeakHashMap()
    • DoubleWeakHashMap

      public DoubleWeakHashMap(int initialCapacity)
    • DoubleWeakHashMap

      public DoubleWeakHashMap(int initialCapacity, float loadFactor)
    • DoubleWeakHashMap

      public DoubleWeakHashMap(Map m)
  • Method Details

    • cleanCleared

      public void cleanCleared()
    • clear

      public void clear()
      Specified by:
      clear in interface Map
    • containsKey

      public boolean containsKey(Object key)
      Specified by:
      containsKey in interface Map
    • containsValue

      public boolean containsValue(Object val)
      Specified by:
      containsValue in interface Map
    • entrySet

      public Set entrySet()
      Specified by:
      entrySet in interface Map
    • get

      public Object get(Object key)
      Specified by:
      get in interface Map
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Map
    • keySet

      public Set keySet()
      Specified by:
      keySet in interface Map
    • put

      public Object put(Object key, Object val)
      Specified by:
      put in interface Map
    • putAll

      public void putAll(Map m)
      Specified by:
      putAll in interface Map
    • remove

      public Object remove(Object key)
      Specified by:
      remove in interface Map
    • size

      public int size()
      Specified by:
      size in interface Map
    • values

      public Collection values()
      Specified by:
      values in interface Map