public class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(String string)
Checks whether a string is
null or of zero length. |
public static boolean isEmpty(String string)
null
or of zero length.string
- The string to check, may be null
.true
if the string is null
or of zero length, false
otherwise.Copyright © 2010-2019 Sonatype, Inc.. All Rights Reserved.