Class Objects


  • public final class Objects
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Objects()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int compare​(java.lang.Object a, java.lang.Object b)
      A helper method for performing an ordered comparison on the objects handling nulls and objects which do not handle sorting gracefully
      static boolean contains​(java.lang.String matchesText, java.lang.String... values)  
      static boolean isBlank​(java.lang.String text)  
      • Methods inherited from class java.lang.Object

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

      • Objects

        public Objects()
    • Method Detail

      • isBlank

        public static boolean isBlank​(java.lang.String text)
      • compare

        public static int compare​(java.lang.Object a,
                                  java.lang.Object b)
        A helper method for performing an ordered comparison on the objects handling nulls and objects which do not handle sorting gracefully
        Parameters:
        a - the first object
        b - the second object
      • contains

        public static boolean contains​(java.lang.String matchesText,
                                       java.lang.String... values)