T - the valuepublic class Object2IntBiMap<T> extends Object implements it.unimi.dsi.fastutil.objects.Object2IntMap<T>
Int2ObjectBiMap class, but it
does not extend the Map interface making it difficult to utilize
it in for loops and the registry system.| Constructor and Description |
|---|
Object2IntBiMap() |
Object2IntBiMap(int expected) |
Object2IntBiMap(int expected,
float loadFactor) |
Object2IntBiMap(int expected,
float loadFactor,
int defaultBackwardsValue) |
Object2IntBiMap(int expected,
float loadFactor,
T defaultForwardsValue,
int defaultBackwardsValue) |
Object2IntBiMap(T defaultForwardsValue) |
| Modifier and Type | Method and Description |
|---|---|
T |
backwardsDefaultReturnValue() |
boolean |
containsKey(Object o) |
boolean |
containsValue(int i) |
int |
defaultReturnValue() |
void |
defaultReturnValue(int i) |
void |
defaultReturnValue(T v) |
boolean |
equals(Object o) |
T |
get(int key) |
int |
getInt(Object o) |
T |
getOrDefault(int key,
T defaultValue) |
int |
getOrDefault(Object key,
int defaultValue) |
int |
hashCode() |
it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2ObjectMap.Entry<T>> |
int2ObjectEntrySet() |
boolean |
isEmpty() |
it.unimi.dsi.fastutil.objects.ObjectSet<T> |
keySet() |
it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.objects.Object2IntMap.Entry<T>> |
object2IntEntrySet() |
int |
put(T key,
int value) |
void |
putAll(@NotNull Map<? extends T,? extends Integer> m) |
int |
removeInt(Object key) |
int |
size() |
String |
toString() |
it.unimi.dsi.fastutil.ints.IntCollection |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, computeIfAbsent, computeIfAbsent, computeInt, computeIntIfAbsent, computeIntIfAbsentPartial, computeIntIfPresent, containsValue, entrySet, forEach, get, getOrDefault, merge, merge, mergeInt, mergeInt, mergeInt, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replaceandThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShortcompute, computeIfAbsent, computeIfPresent, replaceAllpublic Object2IntBiMap()
public Object2IntBiMap(int expected)
public Object2IntBiMap(T defaultForwardsValue)
public Object2IntBiMap(int expected,
float loadFactor)
public Object2IntBiMap(int expected,
float loadFactor,
int defaultBackwardsValue)
public Object2IntBiMap(int expected,
float loadFactor,
T defaultForwardsValue,
int defaultBackwardsValue)
public int size()
public int getInt(Object o)
getInt in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<T>public T get(int key)
public int getOrDefault(Object key, int defaultValue)
public void defaultReturnValue(int i)
public void defaultReturnValue(T v)
public int defaultReturnValue()
public T backwardsDefaultReturnValue()
public it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.objects.Object2IntMap.Entry<T>> object2IntEntrySet()
object2IntEntrySet in interface it.unimi.dsi.fastutil.objects.Object2IntMap<T>public it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2ObjectMap.Entry<T>> int2ObjectEntrySet()
public it.unimi.dsi.fastutil.objects.ObjectSet<T> keySet()
public it.unimi.dsi.fastutil.ints.IntCollection values()
public boolean containsKey(Object o)
containsKey in interface it.unimi.dsi.fastutil.objects.Object2IntMap<T>containsKey in interface Map<T,Integer>public boolean containsValue(int i)
containsValue in interface it.unimi.dsi.fastutil.objects.Object2IntMap<T>public int put(T key, int value)
put in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<T>public int removeInt(Object key)
removeInt in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<T>public int hashCode()
Copyright © 2021 GeyserMC. All rights reserved.