Package com.graphhopper.coll
Class GHIntObjectHashMap<T>
java.lang.Object
com.carrotsearch.hppc.IntObjectHashMap<T>
com.graphhopper.coll.GHIntObjectHashMap<T>
- All Implemented Interfaces:
com.carrotsearch.hppc.IntObjectAssociativeContainer<T>
,com.carrotsearch.hppc.IntObjectMap<T>
,com.carrotsearch.hppc.Preallocable
,Cloneable
,Iterable<com.carrotsearch.hppc.cursors.IntObjectCursor<T>>
public class GHIntObjectHashMap<T>
extends com.carrotsearch.hppc.IntObjectHashMap<T>
We often do not mix maps but really need to avoid randomness or that threads can influence each
other and so we do not use the default HashOrderMixing employed in HPPC (which does this in a thread-safe manner).
- Author:
- Peter Karich
-
Nested Class Summary
Nested classes/interfaces inherited from class com.carrotsearch.hppc.IntObjectHashMap
com.carrotsearch.hppc.IntObjectHashMap.KeysContainer
-
Field Summary
Fields inherited from class com.carrotsearch.hppc.IntObjectHashMap
assigned, hasEmptyKey, keyMixer, keys, loadFactor, mask, orderMixer, resizeAt, values
-
Constructor Summary
ConstructorsConstructorDescriptionGHIntObjectHashMap
(int capacity) GHIntObjectHashMap
(int capacity, double loadFactor) GHIntObjectHashMap
(int capacity, double loadFactor, com.carrotsearch.hppc.HashOrderMixingStrategy hashOrderMixer) -
Method Summary
Methods inherited from class com.carrotsearch.hppc.IntObjectHashMap
allocateBuffers, allocateThenInsertThenRehash, clear, clone, containsKey, ensureCapacity, equalElements, equals, forEach, from, get, getOrDefault, hashCode, hashKey, indexExists, indexGet, indexInsert, indexOf, indexReplace, isEmpty, iterator, keys, put, putAll, putAll, putIfAbsent, rehash, release, remove, removeAll, removeAll, removeAll, shiftConflictingKeys, size, toString, values, verifyLoadFactor, visualizeKeyDistribution
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GHIntObjectHashMap
public GHIntObjectHashMap() -
GHIntObjectHashMap
public GHIntObjectHashMap(int capacity) -
GHIntObjectHashMap
public GHIntObjectHashMap(int capacity, double loadFactor) -
GHIntObjectHashMap
public GHIntObjectHashMap(int capacity, double loadFactor, com.carrotsearch.hppc.HashOrderMixingStrategy hashOrderMixer)
-