Class Strings


  • public final class Strings
    extends Object
    • Constructor Detail

      • Strings

        public Strings()
    • Method Detail

      • isNullOrEmpty

        public static boolean isNullOrEmpty​(String arg)
        Determines whether the parameter string is either null or empty.
        Parameters:
        arg - The string to be checked.
        Returns:
        true if the string is null or empty.
      • isNullOrWhiteSpace

        public static boolean isNullOrWhiteSpace​(String arg)
        Determines whether the parameter string is null, empty or whitespace.
        Parameters:
        arg - The string to be checked.
        Returns:
        true if the string is null, empty or whitespace.