Class Strings


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

    NOTE: proxy for the Guava implementation of Strings.

    Since:
    1.14
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Strings()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isNullOrEmpty​(java.lang.String string)
      Returns true if the given string is null or is the empty string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Strings

        private Strings()
    • Method Detail

      • isNullOrEmpty

        public static boolean isNullOrEmpty​(java.lang.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