Class TrackingLongDoubleHashMap
- java.lang.Object
-
- com.carrotsearch.hppc.LongDoubleHashMap
-
- org.neo4j.graphalgo.core.utils.paged.TrackingLongDoubleHashMap
-
- All Implemented Interfaces:
com.carrotsearch.hppc.LongDoubleAssociativeContainer
,com.carrotsearch.hppc.LongDoubleMap
,com.carrotsearch.hppc.Preallocable
,java.lang.Cloneable
,java.lang.Iterable<com.carrotsearch.hppc.cursors.LongDoubleCursor>
public final class TrackingLongDoubleHashMap extends com.carrotsearch.hppc.LongDoubleHashMap
-
-
Constructor Summary
Constructors Constructor Description TrackingLongDoubleHashMap(AllocationTracker tracker)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
allocateBuffers(int arraySize)
long
free()
static MemoryEstimation
memoryEstimation(int pageSize)
void
release()
void
synchronizedPut(long key, double value)
-
Methods inherited from class com.carrotsearch.hppc.LongDoubleHashMap
addTo, 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, putOrAdd, rehash, remove, removeAll, removeAll, removeAll, shiftConflictingKeys, size, toString, values, verifyLoadFactor, visualizeKeyDistribution
-
-
-
-
Constructor Detail
-
TrackingLongDoubleHashMap
public TrackingLongDoubleHashMap(AllocationTracker tracker)
-
-
Method Detail
-
memoryEstimation
public static MemoryEstimation memoryEstimation(int pageSize)
-
synchronizedPut
public void synchronizedPut(long key, double value)
-
allocateBuffers
protected void allocateBuffers(int arraySize)
- Overrides:
allocateBuffers
in classcom.carrotsearch.hppc.LongDoubleHashMap
-
free
public long free()
-
release
public void release()
- Specified by:
release
in interfacecom.carrotsearch.hppc.LongDoubleMap
- Overrides:
release
in classcom.carrotsearch.hppc.LongDoubleHashMap
-
-