java.lang.Object
net.i2p.apache.http.util.Args
Utility class for method argument validation.
Constructor Summary
ConstructorsMethod Summary
All Methods
Constructor Details
Args
private Args()Utility class, no instances.
Method Details
notNull
Check that an argument is not null.- Type Parameters:
T- the argument type- Parameters:
argument- the argument to checkname- the argument name- Returns:
- the argument if not null