public class Int2IntBiHashMap extends java.lang.Object implements Int2IntBiMap
Constructor and Description |
---|
Int2IntBiHashMap() |
Int2IntBiHashMap(int expected) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(int key) |
boolean |
containsValue(int value) |
int |
defaultReturnValue() |
void |
defaultReturnValue(int rv) |
int |
get(int key) |
it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2IntMap.Entry> |
int2IntEntrySet() |
Int2IntBiMap |
inverse()
Returns the inverse of this bimap.
|
boolean |
isEmpty() |
@NonNull it.unimi.dsi.fastutil.ints.IntSet |
keySet() |
int |
put(int key,
int value)
Puts the key and value into the maps.
|
boolean |
remove(int key,
int value) |
int |
size() |
@NonNull it.unimi.dsi.fastutil.ints.IntSet |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
putAll
compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, getOrDefault, merge, merge, mergeInt, mergeInt, put, putIfAbsent, putIfAbsent, remove, remove, replace, replace, replace, replace
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, identity, remove
public Int2IntBiHashMap()
public Int2IntBiHashMap(int expected)
public Int2IntBiMap inverse()
Int2IntBiMap
inverse
in interface Int2IntBiMap
public int put(int key, int value)
Int2IntBiMap
put
in interface Int2IntBiMap
put
in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
key
- keyvalue
- valuepublic boolean remove(int key, int value)
remove
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
public int get(int key)
get
in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
public void clear()
clear
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
clear
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
public int size()
size
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
size
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
public void defaultReturnValue(int rv)
defaultReturnValue
in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
defaultReturnValue
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
public int defaultReturnValue()
defaultReturnValue
in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
defaultReturnValue
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
public it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2IntMap.Entry> int2IntEntrySet()
int2IntEntrySet
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
public @NonNull it.unimi.dsi.fastutil.ints.IntSet keySet()
keySet
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
keySet
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
public @NonNull it.unimi.dsi.fastutil.ints.IntSet values()
values
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
values
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
public boolean containsKey(int key)
containsKey
in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
containsKey
in interface it.unimi.dsi.fastutil.ints.Int2IntMap
public boolean containsValue(int value)
containsValue
in interface it.unimi.dsi.fastutil.ints.Int2IntMap