net.minecraft.util

public class CrudeIncrementalIntIdentityHashBiMap<K>

implements IdMap<K>

azb
net.minecraft.util.CrudeIncrementalIntIdentityHashBiMap
net.minecraft.class_3513
net.minecraft.util.collection.Int2ObjectBiMap
net.minecraft.util.RegistryID

Field summary

Modifier and TypeField
private static final int
b
NOT_FOUND
field_29828
ABSENT
private static final Object
c
EMPTY_SLOT
field_15650
EMPTY
private static final float
d
LOADFACTOR
field_29829
LOAD_FACTOR
private K[]
e
keys
field_15651
values
private int[]
f
values
field_15646
ids
private K[]
g
byId
field_15647
idToValues
private int
h
nextId
field_15649
nextId
private int
i
size
field_15648
size

Constructor summary

ModifierConstructor
private (int size)
private (K[] values, int[] ids, K[] idToValues, int nextId, int size)

Method summary

Modifier and TypeMethod
public static <A> CrudeIncrementalIntIdentityHashBiMap<A>
c(int arg0)
create(int arg0)
method_37913(int arg0)
create(int expectedSize)
public int
a(K arg0)
getId(K arg0)
method_10206(K arg0)
getRawId(K arg0)
public K
a(int arg0)
byId(int arg0)
method_10200(int arg0)
get(int arg0)
private int
e(int arg0)
getValue(int arg0)
method_15222(int arg0)
getIdFromIndex(int index)
public boolean
b(K arg0)
contains(K arg0)
method_34904(K arg0)
contains(K value)
public boolean
d(int arg0)
contains(int arg0)
method_34903(int arg0)
containsKey(int index)
public int
d(K arg0)
add(K arg0)
method_15225(K arg0)
add(K value)
private int
c()
nextId()
method_15226()
nextId()
private void
f(int arg0)
grow(int arg0)
method_15224(int arg0)
resize(int newSize)
public void
a(K arg0, int arg1)
addMapping(K arg0, int arg1)
method_15230(K arg0, int arg1)
put(K value, int id)
private int
e(K arg0)
hash(K arg0)
method_15228(K arg0)
getIdealIndex(K value)
private int
b(K arg0, int arg1)
indexOf(K arg0, int arg1)
method_15232(K arg0, int arg1)
findIndex(K value, int id)
private int
g(int arg0)
findEmpty(int arg0)
method_15223(int arg0)
findFree(int size)
public Iterator<K>
iterator()
iterator()
public void
a()
clear()
method_15229()
clear()
public int
d()
size()
method_10204()
size()
public CrudeIncrementalIntIdentityHashBiMap<K>
b()
copy()
method_39940()
copy()