Class WeakValueHashMap<K,V>

java.lang.Object
ghidra.util.datastruct.AbstractWeakValueMap<K,V>
ghidra.util.datastruct.WeakValueHashMap<K,V>
All Implemented Interfaces:
Map<K,V>

public class WeakValueHashMap<K,V> extends AbstractWeakValueMap<K,V>
Class to provide a hash map with weak values.
  • Constructor Details

    • WeakValueHashMap

      public WeakValueHashMap()
      Constructs a new weak map
    • WeakValueHashMap

      public WeakValueHashMap(int initialSize)
      Constructs a new weak map with the given initial size
      Parameters:
      initialSize - the initial size of the backing map
  • Method Details