public class Strings extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
capitaliseFirstLetter(String string) |
static boolean |
isBlank(String s)
Returns true if the string is empty or contains only white space codepoints, otherwise false.
|
static boolean |
isEmpty(String s)
Returns true if the string is empty, otherwise false.
|
static String |
join(List<String> src,
String delimiter) |
static String |
lowercaseFirstLetter(String string) |
static String |
repeat(char value,
int n) |
static String |
toCsv(List<String> src) |
static String |
zeros(int n) |
public static String zeros(int n)
public static String repeat(char value, int n)
public static boolean isEmpty(String s)
s - String valuepublic static boolean isBlank(String s)
s - String valueCopyright © 2025. All rights reserved.