public class ArrayUtil extends Object
| Constructor and Description |
|---|
ArrayUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
add(byte[] arr,
byte... data) |
static int |
binarySearch(byte[] source,
byte[] target)
数组检索
|
static byte[] |
combine(byte[]... bytesArrays)
数组合并
|
static int[] |
convertToIntArray(List<Integer> integerList) |
static boolean |
isEmpth(Object[] arr) |
static String |
join(byte[] bytes,
String delimiter) |
static String |
join(int[] ints,
String delimiter) |
static byte[] |
reverse(byte[] bytes)
数组反转
|
static int[] |
reverse(int[] ints) |
public static byte[] combine(byte[]... bytesArrays)
bytesArrays - xxxpublic static int binarySearch(byte[] source,
byte[] target)
source - xxxtarget - xxxpublic static byte[] reverse(byte[] bytes)
bytes - xxxpublic static int[] reverse(int[] ints)
public static byte[] add(byte[] arr,
byte... data)
public static boolean isEmpth(Object[] arr)
Copyright © 2019. All rights reserved.