public class StringUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBlank(CharSequence cs)
Evaluates if the specified character sequence is
null, empty or
only consists of whitespace. |
static boolean |
isNotBlank(CharSequence cs)
Evaluates if the specified character sequence is
null, empty or
only consists of whitespace. |
public static boolean isNotBlank(@Nullable CharSequence cs)
null, empty or
only consists of whitespace.cs - the CharSequence to evaluate.false if cs is null, empty or only consists of
whitespace, true otherwise.public static boolean isBlank(@Nullable CharSequence cs)
null, empty or
only consists of whitespace.cs - the CharSequence to evaluate.true if cs is null, empty or only
consists of whitespace, false otherwise.Copyright © 2024. All rights reserved.