Class Preconditions

java.lang.Object
io.smallrye.faulttolerance.core.util.Preconditions

public final class Preconditions extends Object
  • Method Details

    • checkNotNull

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

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

      public static long check(long value, boolean test, String message)
    • check

      public static int check(int value, boolean test, String message)