Package net.minestom.server.utils
Class ArrayUtils
java.lang.Object
net.minestom.server.utils.ArrayUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
concatenateIntArrays
(int[] @NotNull ... arrays) static boolean
static <T> int[]
mapToIntArray
(Collection<T> collection, ToIntFunction<T> function) static <K,
V> Map <K, V> toMap
(K[] keys, V[] values, int length)
-
Method Details
-
isEmpty
-
concatenateIntArrays
public static int[] concatenateIntArrays(int[] @NotNull ... arrays) -
mapToIntArray
-
toMap
-