Class NoHornyPreconditions

java.lang.Object
com.xpdustry.nohorny.common.NoHornyPreconditions

public final class NoHornyPreconditions extends Object
  • Method Details

    • within

      public static int within(int value, int min, int max, String name)
    • positive

      public static int positive(int value, String name)
    • positive

      public static long positive(long value, String name)
    • notEmpty

      public static <T extends Collection<?>> T notEmpty(T value, String name)