Class Preconditions


  • public class Preconditions
    extends Object
    • Method Detail

      • checkNotNull

        public static <T> T checkNotNull​(T value,
                                         String message)
      • check

        public static <T> T check​(T value,
                                  boolean test,
                                  String message)