Package ch.njol.util

Class Validate

java.lang.Object
ch.njol.util.Validate

public abstract class Validate extends Object
  • Constructor Details Link icon

    • Validate Link icon

      public Validate()
  • Method Details Link icon

    • notNull Link icon

      public static void notNull(Object... objects)
    • notNull Link icon

      public static void notNull(@Nullable @Nullable Object object, String name)
    • isTrue Link icon

      public static void isTrue(boolean b, String error)
    • isFalse Link icon

      public static void isFalse(boolean b, String error)
    • notNullOrEmpty Link icon

      public static void notNullOrEmpty(@Nullable @Nullable String s, String name)
    • notNullOrEmpty Link icon

      public static void notNullOrEmpty(@Nullable @Nullable Object[] array, String name)
    • notNullOrEmpty Link icon

      public static void notNullOrEmpty(@Nullable @Nullable Collection<?> collection, String name)
    • notEmpty Link icon

      public static void notEmpty(@Nullable @Nullable String s, String name)
    • notEmpty Link icon

      public static void notEmpty(Object[] array, String name)
    • notEmpty Link icon

      public static void notEmpty(int[] nums, String name)