Class ClassArraySorter.ArgCountMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Integer>
org.bzdev.util.ClassArraySorter.ArgCountMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Integer>
Enclosing class:
ClassArraySorter

public static class ClassArraySorter.ArgCountMap extends HashMap<String,Integer>
Table mapping strings to integers. This class is a trivial extension of the class HashMap<String,Integer>, and is provided because of Java-related issues with creating arrays of generic classes.
See Also:
  • Constructor Details

    • ArgCountMap

      public ArgCountMap()
      Constructor.
    • ArgCountMap

      public ArgCountMap(int initialCapacity)
      Constructor given an initial capacity.
      Parameters:
      initialCapacity - the initial capacity of this map
    • ArgCountMap

      public ArgCountMap(int initialCapacity, float loadFactor)
      Constructor given an initial capacity and load factor. When the number of entries exceeds the product of the load factor and the initial capacity, the table is resized.
      Parameters:
      initialCapacity - the initial capacity of this map
      loadFactor - the load factor for this map