类 ByIdMap
java.lang.Object
net.minecraft.util.ByIdMap
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T> IntFunction<T>
continuous
(ToIntFunction<T> pKeyExtractor, T[] pValues, ByIdMap.OutOfBoundsStrategy pOutOfBoundsStrategy) private static <T> IntFunction<T>
createMap
(ToIntFunction<T> pKeyExtractor, T[] pValues) private static <T> T[]
createSortedArray
(ToIntFunction<T> pKeyExtractor, T[] pValues) static <T> IntFunction<T>
sparse
(ToIntFunction<T> pKeyExtractor, T[] pValues, T pFallback)
-
构造器详细资料
-
ByIdMap
public ByIdMap()
-
-
方法详细资料
-
createMap
-
sparse
-
createSortedArray
-
continuous
public static <T> IntFunction<T> continuous(ToIntFunction<T> pKeyExtractor, T[] pValues, ByIdMap.OutOfBoundsStrategy pOutOfBoundsStrategy)
-