|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- type parameter for key typeV
- type parameter for value typepublic interface WeakValuesMap<K,V>
A map supporting weak values. Entries should disappear, when the value object is garbage collected.
Nested Class Summary | |
---|---|
static class |
WeakValuesMap.Util
Provides access to an empty map. |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Method Summary | |
---|---|
boolean |
isLocked()
Returns if this map is locked. |
void |
lock()
Locks the map, so that no modifications are allowed any more. |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
void lock()
boolean isLocked()
true
if the map is locked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |