| Constructor and Description |
|---|
ArrayUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
append(byte[] src1,
byte[] src2) |
static byte[] |
append(byte[] src1,
byte[] src2,
byte[] src3) |
static char[] |
append(char[] src1,
char[] src2) |
static char[] |
append(char[] src1,
char[] src2,
char[] src3) |
static String[] |
append(String[] src1,
String[] src2) |
static String[] |
append(String[] src1,
String[] src2,
String[] src3) |
static byte[] |
copy(byte[] src) |
static void |
copy(byte[] src,
byte[] dest1) |
static void |
copy(byte[] src,
byte[] dest1,
byte[] dest2) |
static void |
copy(byte[] src,
byte[] dest1,
byte[] dest2,
byte[] dest3) |
static char[] |
copy(char[] src) |
static String[] |
copy(String[] src) |
static boolean |
endsWith(byte[] arr,
byte[] suffix,
int fromIndex) |
static void |
fill(int[][] matrix,
int value) |
static <T> boolean |
hasElements(T[] elements) |
static Iterator<Object> |
iterator(Object array) |
static int |
max(int[] arr) |
static <T> T |
max(T[] arr,
Comparator<T> comparator) |
static int |
min(int[] arr) |
static <T> T |
min(T[] arr,
Comparator<T> comparator) |
static void |
shuffle(char[] src,
Random random) |
static void |
shuffle(int[] src,
Random random) |
static <T> void |
shuffle(T[] src,
Random random) |
static void |
swap(char[] src,
int i,
int j) |
static void |
swap(int[] src,
int i,
int j) |
static <T> void |
swap(T[] src,
int i,
int j) |
public static byte[] append(byte[] src1,
byte[] src2)
public static byte[] append(byte[] src1,
byte[] src2,
byte[] src3)
public static void copy(byte[] src,
byte[] dest1)
public static void copy(byte[] src,
byte[] dest1,
byte[] dest2)
public static void copy(byte[] src,
byte[] dest1,
byte[] dest2,
byte[] dest3)
public static char[] append(char[] src1,
char[] src2)
public static char[] append(char[] src1,
char[] src2,
char[] src3)
public static byte[] copy(byte[] src)
public static char[] copy(char[] src)
public static <T> void shuffle(T[] src,
Random random)
public static void shuffle(int[] src,
Random random)
public static void shuffle(char[] src,
Random random)
public static void swap(int[] src,
int i,
int j)
public static void swap(char[] src,
int i,
int j)
public static <T> void swap(T[] src,
int i,
int j)
public static <T> boolean hasElements(T[] elements)
public static void fill(int[][] matrix,
int value)
public static boolean endsWith(byte[] arr,
byte[] suffix,
int fromIndex)
public static int min(int[] arr)
public static int max(int[] arr)
public static <T> T min(T[] arr,
Comparator<T> comparator)
public static <T> T max(T[] arr,
Comparator<T> comparator)
Copyright © 2021. All rights reserved.