Interface Int2IntBiMap

All Superinterfaces:
it.unimi.dsi.fastutil.Function<Integer,Integer>, Function<Integer,Integer>, it.unimi.dsi.fastutil.ints.Int2IntFunction, it.unimi.dsi.fastutil.ints.Int2IntMap, IntUnaryOperator, Map<Integer,Integer>
All Known Implementing Classes:

public interface Int2IntBiMap extends it.unimi.dsi.fastutil.ints.Int2IntMap
Simple wrapper class for two Int2IntMaps.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2IntMap

    it.unimi.dsi.fastutil.ints.Int2IntMap.Entry, it.unimi.dsi.fastutil.ints.Int2IntMap.FastEntrySet
  • Method Summary

    Modifier and Type
    Returns the inverse of this bimap.
    put(int key, int value)
    Puts the key and value into the maps.

    Methods inherited from interface it.unimi.dsi.fastutil.Function


    Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2IntFunction

    andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, get, remove

    Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2IntMap

    clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, entrySet, forEach, get, getOrDefault, getOrDefault, int2IntEntrySet, keySet, merge, merge, mergeInt, mergeInt, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, size, values

    Methods inherited from interface java.util.function.IntUnaryOperator

    andThen, compose

    Methods inherited from interface java.util.Map

    equals, hashCode, isEmpty, putAll, replaceAll
  • Method Details

    • inverse

      Int2IntBiMap inverse()
      Returns the inverse of this bimap.
      the inverse of this bimap
    • put

      int put(int key, int value)
      Puts the key and value into the maps.
      Specified by:
      put in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
      key - key
      value - value
      old value if present
      IllegalArgumentException - if the value already exists in the map