public class BytesUtil extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
BytesUtil.ByteArrayComparator |
| 限定符和类型 | 字段和说明 |
|---|---|
static byte[] |
EMPTY_BYTES |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
checkHead(byte[] head,
byte[] target) |
static int |
compare(byte[] a,
byte[] b) |
static BytesUtil.ByteArrayComparator |
getDefaultByteArrayComparator() |
static boolean |
isEmpty(byte[] bytes) |
static byte[] |
max(byte[] a,
byte[] b) |
static byte[] |
min(byte[] a,
byte[] b) |
static byte[] |
nullToEmpty(byte[] bytes) |
public static byte[] nullToEmpty(byte[] bytes)
public static boolean isEmpty(byte[] bytes)
public static boolean checkHead(byte[] head,
byte[] target)
public static BytesUtil.ByteArrayComparator getDefaultByteArrayComparator()
public static int compare(byte[] a,
byte[] b)
public static byte[] max(byte[] a,
byte[] b)
public static byte[] min(byte[] a,
byte[] b)
Copyright © 2019. All rights reserved.