public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isNullOrEmpty(String s)
Checks if a string is either null or empty.
|
static String |
paste(Collection<String> collection,
String delimiter)
Concatenates
String s into one String . |
public static boolean isNullOrEmpty(String s)
s
- a stringtrue
if and only if the string is either null or emptypublic static String paste(Collection<String> collection, String delimiter)
String
s into one String
.collection
- the collection of strings to be concatenateddelimiter
- the separation symbol for the stringsCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.