public class StringUtils extends Object
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static char[] |
byte2Char(byte[] a)
utf-8 bytes to chars
|
static byte[] |
char2Byte(char[] a)
char to utf-8 bytes
|
static void |
clear(byte[] a) |
static void |
clear(char[] a) |
static byte[] |
hexs2Bytes(byte[] a) |
static boolean |
isCharEqual(char[] str)
Judge whether each character of the string equals
|
static boolean |
isContains(char[] a,
char[] b)
a Contains b , return true
|
static boolean |
isNumeric(char[] str)
Determines if the string is a digit
|
static void |
printOneByte(byte b) |
public static boolean isCharEqual(char[] str)
public static boolean isNumeric(char[] str)
public static boolean isContains(char[] a, char[] b)
public static void clear(char[] a)
public static void clear(byte[] a)
public static byte[] char2Byte(char[] a)
public static char[] byte2Char(byte[] a)
public static void printOneByte(byte b)
public static byte[] hexs2Bytes(byte[] a)
Copyright © 2020. All rights reserved.