Class Args

java.lang.Object
org.apache.http.util.Args

public class Args extends Object
  • Constructor Details

    • Args

      public Args()
  • Method Details

    • check

      public static void check(boolean expression, String message)
    • check

      public static void check(boolean expression, String message, Object... args)
    • check

      public static void check(boolean expression, String message, Object arg)
    • notNull

      public static <T> T notNull(T argument, String name)
    • notEmpty

      public static <T extends CharSequence> T notEmpty(T argument, String name)
    • notBlank

      public static <T extends CharSequence> T notBlank(T argument, String name)
    • containsNoBlanks

      public static <T extends CharSequence> T containsNoBlanks(T argument, String name)
    • notEmpty

      public static <E, T extends Collection<E>> T notEmpty(T argument, String name)
    • positive

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

      public static long positive(long n, String name)
    • notNegative

      public static int notNegative(int n, String name)
    • notNegative

      public static long notNegative(long n, String name)