Class TIntArrayIntHashMap

  • All Implemented Interfaces:
    gnu.trove.map.TObjectIntMap<int[]>, java.io.Externalizable, java.io.Serializable

    public class TIntArrayIntHashMap
    extends gnu.trove.map.hash.TObjectIntHashMap<int[]>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class gnu.trove.map.hash.TObjectIntHashMap

        gnu.trove.map.hash.TObjectIntHashMap.KeyView
    • Field Summary

      • Fields inherited from class gnu.trove.map.hash.TObjectIntHashMap

        _values, no_entry_value
      • Fields inherited from class gnu.trove.impl.hash.TObjectHash

        _set, consumeFreeSlot, FREE, REMOVED
      • Fields inherited from class gnu.trove.impl.hash.THash

        _autoCompactionFactor, _autoCompactRemovesRemaining, _autoCompactTemporaryDisable, _free, _loadFactor, _maxSize, _size, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR
    • Constructor Summary

      Constructors 
      Constructor Description
      TIntArrayIntHashMap()
      Creates a new TObjectIntHashMap instance with the default capacity and load factor.
      TIntArrayIntHashMap​(int initialCapacity)
      Creates a new TObjectIntHashMap instance with a prime capacity equal to or greater than initialCapacity and with the default load factor.
      TIntArrayIntHashMap​(int initialCapacity, float loadFactor)
      Creates a new TObjectIntHashMap instance with a prime capacity equal to or greater than initialCapacity and with the specified load factor.
      TIntArrayIntHashMap​(int initialCapacity, float loadFactor, int noEntryValue)
      Creates a new TObjectIntHashMap instance with a prime value at or near the specified capacity and load factor.
      TIntArrayIntHashMap​(TIntArrayIntHashMap map)
      Creates a new TObjectIntHashMap that contains the entries in the map passed to it.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean equals​(java.lang.Object notnull, java.lang.Object two)  
      protected int hash​(java.lang.Object notnull)  
      java.lang.String toString()  
      • Methods inherited from class gnu.trove.map.hash.TObjectIntHashMap

        adjustOrPutValue, adjustValue, clear, containsKey, containsValue, equals, forEachEntry, forEachKey, forEachValue, get, getNoEntryValue, hashCode, increment, iterator, keys, keys, keySet, put, putAll, putAll, putIfAbsent, readExternal, rehash, remove, removeAt, retainEntries, setUp, transformValues, valueCollection, values, values, writeExternal
      • Methods inherited from class gnu.trove.impl.hash.TObjectHash

        buildObjectContractViolation, capacity, contains, dumpExtraInfo, forEach, index, insertionIndex, insertKey, objectInfo, reportPotentialConcurrentMod, throwObjectContractViolation, throwObjectContractViolation
      • Methods inherited from class gnu.trove.impl.hash.THash

        calculateGrownCapacity, compact, computeMaxSize, computeNextAutoCompactionAmount, ensureCapacity, getAutoCompactionFactor, isEmpty, postInsertHook, reenableAutoCompaction, setAutoCompactionFactor, size, tempDisableAutoCompaction, trimToSize
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface gnu.trove.map.TObjectIntMap

        isEmpty, size
    • Constructor Detail

      • TIntArrayIntHashMap

        public TIntArrayIntHashMap()
        Creates a new TObjectIntHashMap instance with the default capacity and load factor.
      • TIntArrayIntHashMap

        public TIntArrayIntHashMap​(int initialCapacity)
        Creates a new TObjectIntHashMap instance with a prime capacity equal to or greater than initialCapacity and with the default load factor.
        Parameters:
        initialCapacity - an int value
      • TIntArrayIntHashMap

        public TIntArrayIntHashMap​(int initialCapacity,
                                   float loadFactor)
        Creates a new TObjectIntHashMap instance with a prime capacity equal to or greater than initialCapacity and with the specified load factor.
        Parameters:
        initialCapacity - an int value
        loadFactor - a float value
      • TIntArrayIntHashMap

        public TIntArrayIntHashMap​(int initialCapacity,
                                   float loadFactor,
                                   int noEntryValue)
        Creates a new TObjectIntHashMap instance with a prime value at or near the specified capacity and load factor.
        Parameters:
        initialCapacity - used to find a prime capacity for the table.
        loadFactor - used to calculate the threshold over which rehashing takes place.
        noEntryValue - the value used to represent null.
      • TIntArrayIntHashMap

        public TIntArrayIntHashMap​(TIntArrayIntHashMap map)
        Creates a new TObjectIntHashMap that contains the entries in the map passed to it.
        Parameters:
        map - the TObjectIntMap to be copied.
    • Method Detail

      • equals

        protected boolean equals​(java.lang.Object notnull,
                                 java.lang.Object two)
        Overrides:
        equals in class gnu.trove.impl.hash.TObjectHash<int[]>
      • hash

        protected int hash​(java.lang.Object notnull)
        Overrides:
        hash in class gnu.trove.impl.hash.TObjectHash<int[]>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class gnu.trove.map.hash.TObjectIntHashMap<int[]>