Class WeakIdentityHashMap<K,V>

java.lang.Object
de.bsvrz.dav.daf.util.WeakIdentityHashMap<K,V>
All Implemented Interfaces:
Map<K,V>

@Deprecated public class WeakIdentityHashMap<K,V> extends Object implements Map<K,V>
Deprecated.
Stattdessen sollte new MapMaker().weakKeys().makeMap() verwendet werden, die optimierter und threadsafe ist.
WeakHashMap, die anhand von Objekt-Identität vergleicht. Nicht Threadsafe.
  • Constructor Details

    • WeakIdentityHashMap

      public WeakIdentityHashMap()
      Deprecated.
  • Method Details

    • size

      public final int size()
      Deprecated.
      Specified by:
      size in interface Map<K,V>
    • isEmpty

      public final boolean isEmpty()
      Deprecated.
      Specified by:
      isEmpty in interface Map<K,V>
    • containsKey

      public final boolean containsKey(Object key)
      Deprecated.
      Specified by:
      containsKey in interface Map<K,V>
    • containsValue

      public final boolean containsValue(Object value)
      Deprecated.
      Specified by:
      containsValue in interface Map<K,V>
    • get

      public final V get(Object key)
      Deprecated.
      Specified by:
      get in interface Map<K,V>
    • put

      public final V put(K key, V value)
      Deprecated.
      Specified by:
      put in interface Map<K,V>
    • remove

      public final V remove(Object key)
      Deprecated.
      Specified by:
      remove in interface Map<K,V>
    • putAll

      public final void putAll(Map<? extends K,? extends V> m)
      Deprecated.
      Specified by:
      putAll in interface Map<K,V>
    • clear

      public final void clear()
      Deprecated.
      Specified by:
      clear in interface Map<K,V>
    • keySet

      public final Set<K> keySet()
      Deprecated.
      Specified by:
      keySet in interface Map<K,V>
    • values

      public final Collection<V> values()
      Deprecated.
      Specified by:
      values in interface Map<K,V>
    • entrySet

      public final Set<Map.Entry<K,V>> entrySet()
      Deprecated.
      Specified by:
      entrySet in interface Map<K,V>