Class Strings (1.43.0)

public final class Strings

Static utility methods pertaining to String instances.

NOTE: proxy for the Guava implementation of com.google.common.base.Strings.

Inheritance

java.lang.Object > Strings

Static Methods

isNullOrEmpty(String string)

public static boolean isNullOrEmpty(String string)

Returns true if the given string is null or is the empty string.

Parameter
NameDescription
stringString

a string reference to check (may be null)

Returns
TypeDescription
boolean

true if the string is null or is the empty string