Class Strings


  • public final class Strings
    extends Object
    Static utility methods pertaining to String instances.

    NOTE: proxy for the Guava implementation of Strings.

    Since:
    1.14
    Author:
    Yaniv Inbar
    • Method Detail

      • isNullOrEmpty

        public static boolean isNullOrEmpty​(String string)
        Returns true if the given string is null or is the empty string.
        Parameters:
        string - a string reference to check (may be null)
        Returns:
        true if the string is null or is the empty string