Class TLimitedLongIntHashMap
java.lang.Object
gnu.trove.impl.hash.THash
gnu.trove.impl.hash.TPrimitiveHash
gnu.trove.impl.hash.TLongIntHash
gnu.trove.map.hash.TLongIntHashMap
com.netcracker.profiler.util.cache.TLimitedLongIntHashMap
- All Implemented Interfaces:
gnu.trove.map.TLongIntMap,Externalizable,Serializable
public class TLimitedLongIntHashMap
extends gnu.trove.map.hash.TLongIntHashMap
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class gnu.trove.map.hash.TLongIntHashMap
gnu.trove.map.hash.TLongIntHashMap.TKeyView, gnu.trove.map.hash.TLongIntHashMap.TValueView -
Field Summary
Fields inherited from class gnu.trove.map.hash.TLongIntHashMap
_valuesFields inherited from class gnu.trove.impl.hash.TLongIntHash
_set, consumeFreeSlot, no_entry_key, no_entry_valueFields inherited from class gnu.trove.impl.hash.TPrimitiveHash
_states, FREE, FULL, REMOVEDFields inherited from class gnu.trove.impl.hash.THash
_autoCompactionFactor, _autoCompactRemovesRemaining, _autoCompactTemporaryDisable, _free, _loadFactor, _maxSize, _size, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gnu.trove.map.hash.TLongIntHashMap
adjustOrPutValue, adjustValue, clear, containsKey, containsValue, equals, forEachEntry, forEachKey, forEachValue, hashCode, increment, isEmpty, iterator, keys, keys, keySet, putAll, putAll, putIfAbsent, readExternal, rehash, remove, removeAt, retainEntries, setUp, toString, transformValues, valueCollection, values, values, writeExternalMethods inherited from class gnu.trove.impl.hash.TLongIntHash
contains, forEach, getNoEntryKey, getNoEntryValue, index, insertKey, XinsertKeyMethods inherited from class gnu.trove.impl.hash.TPrimitiveHash
capacityMethods inherited from class gnu.trove.impl.hash.THash
calculateGrownCapacity, compact, computeMaxSize, computeNextAutoCompactionAmount, ensureCapacity, getAutoCompactionFactor, postInsertHook, reenableAutoCompaction, setAutoCompactionFactor, size, tempDisableAutoCompaction, trimToSizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface gnu.trove.map.TLongIntMap
getNoEntryKey, getNoEntryValue, size
-
Constructor Details
-
TLimitedLongIntHashMap
public TLimitedLongIntHashMap() -
TLimitedLongIntHashMap
public TLimitedLongIntHashMap(int maxSize)
-
-
Method Details
-
get
public int get(long key) - Specified by:
getin interfacegnu.trove.map.TLongIntMap- Overrides:
getin classgnu.trove.map.hash.TLongIntHashMap
-
put
public int put(long key, int value) - Specified by:
putin interfacegnu.trove.map.TLongIntMap- Overrides:
putin classgnu.trove.map.hash.TLongIntHashMap
-