Modifier and Type | Method and Description |
---|---|
static boolean |
isNullOrEmpty(String string)
Returns
true if the given string is null or is the empty string. |
public static boolean isNullOrEmpty(String string)
true
if the given string is null or is the empty string.string
- a string reference to check (may be null
)true
if the string is null or is the empty stringCopyright © 2011–2020 Google. All rights reserved.