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 and Description |
---|
DoubleWeakHashMap() |
DoubleWeakHashMap(int initialCapacity) |
DoubleWeakHashMap(int initialCapacity,
float loadFactor) |
DoubleWeakHashMap(Map m) |
Modifier and Type | Method and Description |
---|---|
void |
cleanCleared() |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object val) |
Set |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object val) |
void |
putAll(Map m) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public DoubleWeakHashMap()
public DoubleWeakHashMap(int initialCapacity)
public DoubleWeakHashMap(int initialCapacity, float loadFactor)
public DoubleWeakHashMap(Map m)
public void cleanCleared()
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object val)
containsValue
in interface Map
public Collection values()
Copyright © 2017 com.mchange. All rights reserved.