Interface IntIntMap

All Superinterfaces:
PrimitiveIntKeyMap, PrimitiveKeyMap
All Known Implementing Classes:
ConcurrentBusyWaitingIntIntMap, ConcurrentIntIntMap, PrimitiveFastutilIntIntWrapper

public interface IntIntMap extends PrimitiveIntKeyMap
  • Field Details

  • Method Details

    • get

      int get(int key)
      Parameters:
      key -
      Returns:
      0 if the key is not present
    • put

      int put(int key, int value)
    • getDefaultValue

      int getDefaultValue()
    • remove

      int remove(int key)
    • remove

      boolean remove(int key, int value)
    • computeIfAbsent

      int computeIfAbsent(int key, it.unimi.dsi.fastutil.ints.Int2IntFunction mappingFunction)
    • computeIfPresent

      int computeIfPresent(int key, BiFunction<Integer,Integer,Integer> mappingFunction)