Package de.bsvrz.dav.daf.util
Class WeakIdentityHashMap<K,V>
java.lang.Object
de.bsvrz.dav.daf.util.WeakIdentityHashMap<K,V>
- All Implemented Interfaces:
Map<K,V>
Deprecated.
WeakHashMap, die anhand von Objekt-Identität vergleicht. Nicht Threadsafe.
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclear()Deprecated.final booleancontainsKey(Object key) Deprecated.final booleancontainsValue(Object value) Deprecated.entrySet()Deprecated.final VDeprecated.final booleanisEmpty()Deprecated.keySet()Deprecated.final VDeprecated.final voidDeprecated.final VDeprecated.final intsize()Deprecated.final Collection<V>values()Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
WeakIdentityHashMap
public WeakIdentityHashMap()Deprecated.
-
-
Method Details
-
size
public final int size()Deprecated. -
isEmpty
public final boolean isEmpty()Deprecated. -
containsKey
Deprecated.- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
Deprecated.- Specified by:
containsValuein interfaceMap<K,V>
-
get
Deprecated. -
put
Deprecated. -
remove
Deprecated. -
putAll
Deprecated. -
clear
public final void clear()Deprecated. -
keySet
Deprecated. -
values
Deprecated. -
entrySet
Deprecated.
-
newMapMaker().weakKeys().makeMap()verwendet werden, die optimierter und threadsafe ist.