public class ArgumentUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ArgumentUtils.ArgumentCheck<T>
Allows producing error messages.
|
static interface |
ArgumentUtils.Check
Functional interface the check a condition.
|
Constructor and Description |
---|
ArgumentUtils() |
Modifier and Type | Method and Description |
---|---|
static ArgumentUtils.ArgumentCheck |
check(ArgumentUtils.Check check)
Perform a check on an argument.
|
static <T> ArgumentUtils.ArgumentCheck |
check(String name,
T value)
Perform a check on an argument.
|
public static ArgumentUtils.ArgumentCheck check(ArgumentUtils.Check check)
check
- The checkArgumentUtils.ArgumentCheck
public static <T> ArgumentUtils.ArgumentCheck check(String name, T value)
T
- The value typename
- The name of the argumentvalue
- The value of the argumentArgumentUtils.ArgumentCheck