Interface B2Preconditions


  • public interface B2Preconditions
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static void checkArgument​(boolean expr)  
      static void checkArgument​(boolean expr, java.lang.Object msg)  
      static void checkArgumentIsNotNull​(java.lang.Object argument, java.lang.Object argumentName)  
      static void checkState​(boolean expr)  
      static void checkState​(boolean expr, java.lang.Object msg)  
    • Method Detail

      • checkArgument

        static void checkArgument​(boolean expr)
      • checkArgument

        static void checkArgument​(boolean expr,
                                  java.lang.Object msg)
      • checkState

        static void checkState​(boolean expr)
      • checkState

        static void checkState​(boolean expr,
                               java.lang.Object msg)
      • checkArgumentIsNotNull

        static void checkArgumentIsNotNull​(java.lang.Object argument,
                                           java.lang.Object argumentName)