Interface WeakMap<K,V>
-
- All Known Implementing Classes:
WeakMap.MapAdapter
public interface WeakMap<K,V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceWeakMap.Implementationstatic classWeakMap.MapAdapter<K,V>static classWeakMap.Providerstatic interfaceWeakMap.ValueSupplier<K,V>Supplies the value to be stored and it is called only when a value does not exists yet in the registry.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VcomputeIfAbsent(K key, WeakMap.ValueSupplier<? super K,? extends V> supplier)booleancontainsKey(K target)Vget(K key)voidput(K key, V value)voidputIfAbsent(K key, V value)Vremove(K key)intsize()
-