类 CrudeIncrementalIntIdentityHashBiMap<K>
java.lang.Object
net.minecraft.util.CrudeIncrementalIntIdentityHashBiMap<K>
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明private
CrudeIncrementalIntIdentityHashBiMap
(int pSize) private
CrudeIncrementalIntIdentityHashBiMap
(K[] pKeys, int[] pValues, K[] pById, int pNextId, int pSize) -
方法概要
修饰符和类型方法说明int
void
addMapping
(K pObject, int pIntKey) byId
(int pValue) void
clear()
boolean
contains
(int pValue) boolean
copy()
static <A> CrudeIncrementalIntIdentityHashBiMap<A>
create
(int pSize) private int
findEmpty
(int pStartIndex) int
private int
getValue
(int pKey) private void
grow
(int pCapacity) private int
private int
iterator()
private int
nextId()
int
size()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.core.IdMap
byIdOrThrow
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
字段详细资料
-
构造器详细资料
-
CrudeIncrementalIntIdentityHashBiMap
private CrudeIncrementalIntIdentityHashBiMap(int pSize) -
CrudeIncrementalIntIdentityHashBiMap
-
-
方法详细资料
-
create
-
getId
-
byId
-
getValue
private int getValue(int pKey) -
contains
-
contains
public boolean contains(int pValue) -
add
-
nextId
private int nextId() -
grow
private void grow(int pCapacity) -
addMapping
-
hash
-
indexOf
-
findEmpty
private int findEmpty(int pStartIndex) -
iterator
-
clear
public void clear() -
size
public int size() -
copy
-