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 booleanstatic <T> int[]mapToIntArray(Collection<T> collection, ToIntFunction<T> function) static <K,V> Map<K, V> toMap(@NotNull K[] keys, @NotNull V[] values, int length)
-
Method Details
-
isEmpty
-
concatenateIntArrays
public static int[] concatenateIntArrays(int[] @NotNull ... arrays) -
mapToIntArray
-
toMap
public static <K,V> Map<K,V> toMap(@NotNull @NotNull K[] keys, @NotNull @NotNull V[] values, int length)
-