Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.carrotsearch.hppc.LongDoubleHashMap

        com.carrotsearch.hppc.LongDoubleHashMap.KeysContainer
    • Field Summary

      • Fields inherited from class com.carrotsearch.hppc.LongDoubleHashMap

        assigned, hasEmptyKey, keyMixer, keys, loadFactor, mask, orderMixer, resizeAt, values
    • 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
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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 class com.carrotsearch.hppc.LongDoubleHashMap
      • free

        public long free()
      • release

        public void release()
        Specified by:
        release in interface com.carrotsearch.hppc.LongDoubleMap
        Overrides:
        release in class com.carrotsearch.hppc.LongDoubleHashMap