Class Strings (1.43.2)

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
Name Description
string String

a string reference to check (may be null)

Returns
Type Description
boolean

true if the string is null or is the empty string