public class Int2IntBiMap extends Object implements it.unimi.dsi.fastutil.ints.Int2IntMap
Int2IntMaps.to get the inversed map| Constructor and Description |
|---|
Int2IntBiMap() |
| 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() |
boolean |
isEmpty() |
@NotNull it.unimi.dsi.fastutil.ints.IntSet |
keySet() |
int |
put(int key,
int value)
Puts the key and value into the maps.
|
void |
putAll(@NotNull Map<? extends Integer,? extends Integer> m)
Deprecated.
|
boolean |
remove(int key,
int value) |
int |
size() |
@NotNull it.unimi.dsi.fastutil.ints.IntSet |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsValue, entrySet, get, getOrDefault, getOrDefault, merge, merge, put, putIfAbsent, putIfAbsent, remove, remove, replace, replace, replace, replaceandThen, compose, identityequals, forEach, hashCode, replaceAllpublic Int2IntBiMap inverse()
public int put(int key,
int value)
put in interface it.unimi.dsi.fastutil.ints.Int2IntFunctionkey - keyvalue - valueIllegalArgumentException - if the value already exists in the mappublic boolean remove(int key,
int value)
remove in interface it.unimi.dsi.fastutil.ints.Int2IntMappublic int get(int key)
get in interface it.unimi.dsi.fastutil.ints.Int2IntFunctionpublic void clear()
public int size()
@Deprecated public void putAll(@NotNull @NotNull Map<? extends Integer,? extends Integer> m)
public void defaultReturnValue(int rv)
defaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2IntFunctiondefaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2IntMappublic int defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2IntFunctiondefaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2IntMappublic it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2IntMap.Entry> int2IntEntrySet()
int2IntEntrySet in interface it.unimi.dsi.fastutil.ints.Int2IntMap@NotNull public @NotNull it.unimi.dsi.fastutil.ints.IntSet keySet()
@NotNull public @NotNull it.unimi.dsi.fastutil.ints.IntSet values()
public boolean containsKey(int key)
containsKey in interface it.unimi.dsi.fastutil.ints.Int2IntFunctioncontainsKey in interface it.unimi.dsi.fastutil.ints.Int2IntMappublic boolean containsValue(int value)
containsValue in interface it.unimi.dsi.fastutil.ints.Int2IntMapCopyright © 2016–2021. All rights reserved.