Class HashMapBase

java.lang.Object
io.deephaven.util.datastructures.hash.HashMapBase
All Implemented Interfaces:
gnu.trove.map.TLongLongMap, TNullableLongLongMap
Direct Known Subclasses:
HashMapK1V1, HashMapK2V2, HashMapK4V4

public abstract class HashMapBase extends Object implements TNullableLongLongMap
  • Method Details

    • putImplNoTranslate

      protected abstract long putImplNoTranslate(long[] kvs, long key, long value, boolean insertOnly)
    • setKeysAndValues

      protected abstract void setKeysAndValues(long[] keysAndValues)
    • size

      public final int size()
      Specified by:
      size in interface gnu.trove.map.TLongLongMap
    • isEmpty

      public final boolean isEmpty()
      Specified by:
      isEmpty in interface gnu.trove.map.TLongLongMap
    • getNoEntryKey

      public final long getNoEntryKey()
      Specified by:
      getNoEntryKey in interface gnu.trove.map.TLongLongMap
    • getNoEntryValue

      public final long getNoEntryValue()
      Specified by:
      getNoEntryValue in interface gnu.trove.map.TLongLongMap
    • increment

      public boolean increment(long key)
      Specified by:
      increment in interface gnu.trove.map.TLongLongMap
    • adjustValue

      public boolean adjustValue(long key, long amount)
      Specified by:
      adjustValue in interface gnu.trove.map.TLongLongMap
    • adjustOrPutValue

      public long adjustOrPutValue(long key, long adjust_amount, long put_amount)
      Specified by:
      adjustOrPutValue in interface gnu.trove.map.TLongLongMap
    • containsValue

      public boolean containsValue(long val)
      Specified by:
      containsValue in interface gnu.trove.map.TLongLongMap
    • containsKey

      public boolean containsKey(long key)
      Specified by:
      containsKey in interface gnu.trove.map.TLongLongMap
    • keySet

      public gnu.trove.set.TLongSet keySet()
      Specified by:
      keySet in interface gnu.trove.map.TLongLongMap
    • forEachKey

      public boolean forEachKey(gnu.trove.procedure.TLongProcedure procedure)
      Specified by:
      forEachKey in interface gnu.trove.map.TLongLongMap
    • forEachValue

      public boolean forEachValue(gnu.trove.procedure.TLongProcedure procedure)
      Specified by:
      forEachValue in interface gnu.trove.map.TLongLongMap
    • forEachEntry

      public boolean forEachEntry(gnu.trove.procedure.TLongLongProcedure procedure)
      Specified by:
      forEachEntry in interface gnu.trove.map.TLongLongMap
    • transformValues

      public void transformValues(gnu.trove.function.TLongFunction function)
      Specified by:
      transformValues in interface gnu.trove.map.TLongLongMap
    • retainEntries

      public boolean retainEntries(gnu.trove.procedure.TLongLongProcedure procedure)
      Specified by:
      retainEntries in interface gnu.trove.map.TLongLongMap
    • putAll

      public void putAll(Map<? extends Long,? extends Long> map)
      Specified by:
      putAll in interface gnu.trove.map.TLongLongMap
    • putAll

      public void putAll(gnu.trove.map.TLongLongMap map)
      Specified by:
      putAll in interface gnu.trove.map.TLongLongMap
    • valueCollection

      public gnu.trove.TLongCollection valueCollection()
      Specified by:
      valueCollection in interface gnu.trove.map.TLongLongMap