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

  • 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 Detail

      • 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