public final class StringUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALPHA |
static String |
ALPHANUMERIC |
static String |
NUMERIC |
Modifier and Type | Method and Description |
---|---|
static String |
getArrayString(String[] strs,
int idx) |
static String |
getUniqueName(String prefix,
int len) |
static boolean |
isEmpty(String str) |
static String |
join(CharSequence delimiter,
Iterable<?> tokens) |
static String |
randomString(int len) |
static String |
toString(Map<?,?> map) |
public static final String ALPHA
public static final String NUMERIC
public static final String ALPHANUMERIC
@NonNull public static String randomString(int len)
public static boolean isEmpty(@Nullable String str)
@NonNull public static String join(@NonNull CharSequence delimiter, @NonNull Iterable<?> tokens)