org.apache.http.util
Class Args
java.lang.Object
org.apache.http.util.Args
public class Args
- extends Object
Constructor Summary |
Args()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Args
public Args()
check
public static void check(boolean expression,
String message)
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)
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)
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.