public class TIntArrayIntHashMap
extends gnu.trove.map.hash.TObjectIntHashMap<int[]>
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
equals(java.lang.Object notnull,
java.lang.Object two) |
protected int |
hash(java.lang.Object notnull) |
java.lang.String |
toString() |
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
buildObjectContractViolation, capacity, contains, dumpExtraInfo, forEach, index, insertionIndex, insertKey, objectInfo, reportPotentialConcurrentMod, throwObjectContractViolation, throwObjectContractViolation
calculateGrownCapacity, compact, computeMaxSize, computeNextAutoCompactionAmount, ensureCapacity, getAutoCompactionFactor, isEmpty, postInsertHook, reenableAutoCompaction, setAutoCompactionFactor, size, tempDisableAutoCompaction, trimToSize
public TIntArrayIntHashMap()
TObjectIntHashMap
instance with the default
capacity and load factor.public TIntArrayIntHashMap(int initialCapacity)
TObjectIntHashMap
instance with a prime
capacity equal to or greater than initialCapacity and with the
default load factor.initialCapacity
- an int
valuepublic TIntArrayIntHashMap(int initialCapacity, float loadFactor)
TObjectIntHashMap
instance with a prime
capacity equal to or greater than initialCapacity and with the
specified load factor.initialCapacity
- an int
valueloadFactor
- a float
valuepublic TIntArrayIntHashMap(int initialCapacity, float loadFactor, int noEntryValue)
TObjectIntHashMap
instance with a prime value
at or near the specified capacity and load factor.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.public TIntArrayIntHashMap(TIntArrayIntHashMap map)
TObjectIntHashMap
that contains the entries in
the map passed to it.map
- the TObjectIntMap to be copied.protected boolean equals(java.lang.Object notnull, java.lang.Object two)
equals
in class gnu.trove.impl.hash.TObjectHash<int[]>
protected int hash(java.lang.Object notnull)
hash
in class gnu.trove.impl.hash.TObjectHash<int[]>
public java.lang.String toString()
toString
in class gnu.trove.map.hash.TObjectIntHashMap<int[]>