Arrays - TCreopargh/CraftTweakerIntegration GitHub Wiki

Provides array utilities.

Importing class

import mods.ctintegration.util.ArrayUtil;

Methods

Method Description
static void sort(int[] array) Sorts an array in ascending order
static void sort(double[] array)
static void sort(float[] array)
static void sort(String[] array)
static void sort(short[] array)
static void sort(byte[] array)
static void sort(long[] array)
static void sort(char[] array)
static void reverse(int[] array) Reverses the order of the array
static void reverse(double[] array)
static void reverse(float[] array)
static void reverse(String[] array)
static void reverse(short[] array)
static void reverse(byte[] array)
static void reverse(long[] array)
static void reverse(char[] array)