classpublicPriority 2
ArrayUtil
com.hypixel.hytale.common.util.ArrayUtil
17
Methods
17
Public Methods
0
Fields
1
Constructors
Constants
BitSet[]EMPTY_BITSET_ARRAY= new BitSet[0]
boolean[]EMPTY_BOOLEAN_ARRAY= new boolean[0]
byte[]EMPTY_BYTE_ARRAY= new byte[0]
double[]EMPTY_DOUBLE_ARRAY= new double[0]
Entry[]EMPTY_ENTRY_ARRAY= new Entry[0]
float[]EMPTY_FLOAT_ARRAY= new float[0]
Integer[]EMPTY_INTEGER_ARRAY= new Integer[0]
int[]EMPTY_INT_ARRAY= new int[0]
long[]EMPTY_LONG_ARRAY= new long[0]
Object[]EMPTY_OBJECT_ARRAY= new Object[0]
String[]EMPTY_STRING_ARRAY= new String[0]
Supplier[]EMPTY_SUPPLIER_ARRAY= new Supplier[0]
Constructors
public
ArrayUtil()Methods
Public Methods (17)
publicstatic
<T> T[] append(T[] arr, T t)@Nonnull
publicstatic
<T> T[] combine(T[] a1, T[] a2)@Nullable
publicstatic
<T> boolean contains(T[] array, T obj)publicstatic
<T> boolean contains(T[] array, T obj, int start, int end)publicstatic
<T> T[] emptyArray()@Nonnull
publicstatic
<K, V> Entry<K, V>[] emptyEntryArray()@Nonnull
publicstatic
<T> Supplier<T>[] emptySupplierArray()@Nonnull
publicstatic
<T> boolean equals(T[] a, T[] a2, UnaryBiPredicate<T> predicate)publicstatic
int grow(int oldSize)publicstatic
<T> int indexOf(T[] array, T obj)publicstatic
<T> int indexOf(T[] array, T obj, int start, int end)publicstatic
<T> T[] remove(T[] arr, int index)@Nonnull
publicstatic
void shuffleArray(int[] ar, int from, int to, Random rnd)publicstatic
void shuffleArray(byte[] ar, int from, int to, Random rnd)publicstatic
<T> T[][] split(T[] data, int size)@Nonnull
publicstatic
byte[][] split(byte[] data, int size)publicstatic
boolean startsWith(byte[] array, byte[] start)Related Classes
Used By