Interface LongFloatMap

All Superinterfaces:
PrimitiveKeyMap, PrimitiveLongKeyMap
All Known Implementing Classes:
ConcurrentBusyWaitingLongFloatMap, ConcurrentLongFloatMap, PrimitiveFastutilLongFloatWrapper

public interface LongFloatMap extends PrimitiveLongKeyMap
  • Field Details

  • Method Details

    • get

      float get(long key)
      Parameters:
      key - key
      Returns:
      0.0 if the key is not present
    • put

      float put(long key, float value)
    • getDefaultValue

      float getDefaultValue()
    • remove

      float remove(long key)
    • remove

      boolean remove(long key, float value)
      Remove this key only if it has the given value.
      Parameters:
      key -
      value -
      Returns:
    • computeIfAbsent

      float computeIfAbsent(long key, it.unimi.dsi.fastutil.longs.Long2FloatFunction mappingFunction)
    • computeIfPresent

      float computeIfPresent(int key, BiFunction<Long,Float,Float> mappingFunction)