Class ArgumentCheck

java.lang.Object
app.babylon.lang.ArgumentCheck

public final class ArgumentCheck extends Object
  • Constructor Details

    • ArgumentCheck

      public ArgumentCheck()
  • Method Details

    • nonNegative

      public static int nonNegative(int i)
    • nonEmpty

      public static int[] nonEmpty(int[] x)
    • nonEmpty

      public static <T> T[] nonEmpty(T[] x)
    • nonEmpty

      public static <T extends Collection<?>> T nonEmpty(T c)
    • nonEmpty

      public static String nonEmpty(String s)
    • nonEmptyAsString

      public static String nonEmptyAsString(CharSequence s)
    • nonNull

      public static <T> T nonNull(T o)
    • nonNull

      public static <T> T nonNull(T o, String message)