public class ArrayUtils extends Object
| 构造器和说明 |
|---|
ArrayUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
bitRangeValue(byte[] b,
int offset,
int length) |
static long |
bitRangeValueLong(byte[] b,
int offset,
int length)
Returns the value of the bits in the given range.
|
static int |
byteRangeValue(byte[] b,
int offset,
int length) |
static long |
byteRangeValueLong(byte[] b,
int offset,
int length) |
static String |
concatenate(Object[] a,
String delimiter) |
static boolean |
containsIgnoreCase(String[] values,
String value) |
static int |
indexOf(byte[] src,
byte[] target) |
static int |
indexOf(byte[] src,
int len,
byte[] target) |
static int |
indexOf(byte[] src,
int start,
int len,
byte[] target) |
static int |
indexOf(String[] values,
String value) |
static boolean |
isEmpty(int[] value) |
static void |
shift(Object[] a,
int count) |
static int |
sum(int[] a) |
static double[] |
toDoubleArray(List<Double> list) |
static String |
toHexString(byte[] bytes) |
static String |
toHexString(byte[] bytes,
int start,
int len) |
static int[] |
toIntArray(List<Integer> list) |
static String |
toPlainHexString(byte[] bytes) |
static String |
toPlainHexString(byte[] bytes,
int start,
int len) |
static String |
toString(byte[] bytes) |
static String |
toString(byte[] bytes,
int start,
int len) |
public static String toHexString(byte[] bytes)
public static String toHexString(byte[] bytes, int start, int len)
public static String toPlainHexString(byte[] bytes)
public static String toPlainHexString(byte[] bytes, int start, int len)
public static String toString(byte[] bytes)
public static String toString(byte[] bytes, int start, int len)
public static boolean isEmpty(int[] value)
public static int indexOf(byte[] src,
byte[] target)
public static int indexOf(byte[] src,
int len,
byte[] target)
public static int indexOf(byte[] src,
int start,
int len,
byte[] target)
public static long bitRangeValueLong(byte[] b,
int offset,
int length)
ArrayIndexOutOfBoundsException.b - the array of bytes.offset - the location at which to beginlength - the number of bits to include in the value.public static int bitRangeValue(byte[] b,
int offset,
int length)
public static long byteRangeValueLong(byte[] b,
int offset,
int length)
public static int byteRangeValue(byte[] b,
int offset,
int length)
public static int sum(int[] a)
public static void shift(Object[] a, int count)
Copyright © 2018. All rights reserved.