Class Asserts


  • public class Asserts
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Asserts()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void check​(boolean expression, java.lang.String message)  
      static void check​(boolean expression, java.lang.String message, java.lang.Object arg)  
      static void check​(boolean expression, java.lang.String message, java.lang.Object... args)  
      static void notBlank​(java.lang.CharSequence s, java.lang.String name)  
      static void notEmpty​(java.lang.CharSequence s, java.lang.String name)  
      static void notNull​(java.lang.Object object, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • Asserts

        public Asserts()
    • Method Detail

      • check

        public static void check​(boolean expression,
                                 java.lang.String message)
      • check

        public static void check​(boolean expression,
                                 java.lang.String message,
                                 java.lang.Object... args)
      • check

        public static void check​(boolean expression,
                                 java.lang.String message,
                                 java.lang.Object arg)
      • notNull

        public static void notNull​(java.lang.Object object,
                                   java.lang.String name)
      • notEmpty

        public static void notEmpty​(java.lang.CharSequence s,
                                    java.lang.String name)
      • notBlank

        public static void notBlank​(java.lang.CharSequence s,
                                    java.lang.String name)