public abstract class ArrayUtils extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
cloneIfNotEmpty(byte[] array) |
static String[] |
cloneIfNotEmpty(String[] array) |
static byte[] |
concat(byte[] arr1,
byte[] arr2) |
static byte[] |
concat(byte[] arr1,
int offset1,
int len1,
byte[] arr2,
int offset2,
int len2) |
static int[] |
concat(int[] arr1,
int[] arr2) |
static String[] |
nullToEmpty(String[] array) |
static byte[] |
subarray(byte[] arr,
int offset,
int len) |
public static byte[] cloneIfNotEmpty(byte[] array)
public static byte[] concat(byte[] arr1, byte[] arr2)
public static byte[] concat(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, int len2)
public static byte[] subarray(byte[] arr, int offset, int len)
public static int[] concat(int[] arr1, int[] arr2)