Class EntryHashMap<K,V extends EntryHashMap.Entry<K>>

java.lang.Object
org.openjdk.jmc.common.collection.KeyInValueMap<K,V>
org.openjdk.jmc.common.collection.EntryHashMap<K,V>
Type Parameters:
K - key type
V - value type which has a reference to its key
All Implemented Interfaces:
Iterable<V>

public abstract class EntryHashMap<K,V extends EntryHashMap.Entry<K>> extends KeyInValueMap<K,V>
A map of Entry values (containing the key and the value) that can be subclassed to allow mapping of mutable values. Note that the key values are final and may not be changed.
  • Constructor Details

    • EntryHashMap

      public EntryHashMap(int initialCapacity, float loadFactor)
      Create a new map.
      Parameters:
      initialCapacity - initial storage capacity
      loadFactor - load factor at which to increase the internal storage capacity
  • Method Details