public class ArrayUtil
extends java.lang.Object
| Constructor and Description |
|---|
ArrayUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean[] |
copy(boolean[] array) |
static boolean[] |
copy(boolean[] array,
int newLength) |
static int[] |
copy(int[] array) |
static int[] |
copy(int[] array,
int newLength) |
static <T> T |
safeLoad(T[] array,
int index) |
static <T> void |
safeStore(T[] array,
int index,
T element) |
public static <T> T safeLoad(T[] array,
int index)
public static <T> void safeStore(T[] array,
int index,
T element)
public static int[] copy(int[] array)
public static int[] copy(int[] array,
int newLength)
public static boolean[] copy(boolean[] array)
public static boolean[] copy(boolean[] array,
int newLength)