| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | checkArgument(boolean
the condition that has to be true condition, String the error message if message)condition is falseChecks that an argument satisfies requirement. |
| public static void | checkArgument(boolean
the condition that has to be true condition, String the error message if message, Object... condition is falsethe arguments to the error message args)Checks that an argument satisfies requirement. |
| public static int | |
| public static int | |
| public static void | |
| public static int | |
| public static <T> T | |
| public static void | checkNotNullState(Object
the object that cannot be null object, String the error message if message)condition is falseChecks that |
| public static void | checkNotNullState(Object
the object that cannot be null object, String the error message if message, Object... condition is falsethe arguments to the error message args)Checks that |
| public static void | checkState(boolean
the condition of the state that has to be true condition, String the error message if message)condition is falseChecks a certain state. |
| public static void | checkState(boolean
the condition of the state that has to be true condition, String the error message if message, Object... condition is falsethe arguments to the error message args)Checks a certain state. |
| Checks | back to summary |
|---|---|
| public Checks() | |
| checkArgument | back to summary |
|---|---|
| public static void checkArgument(boolean condition, String message) throws IllegalArgumentException Checks that an argument satisfies requirement.
| |
| checkArgument | back to summary |
|---|---|
| public static void checkArgument(boolean condition, String message, Object... args) throws IllegalArgumentException Checks that an argument satisfies requirement.
| |
| checkMax | back to summary |
|---|---|
| public static int checkMax(int max) Checks that | |
| checkMin | back to summary |
|---|---|
| public static int checkMin(int min) Checks that | |
| checkMinMax | back to summary |
|---|---|
| public static void checkMinMax(int min, int max) Checks that neither | |
| checkNonNegative | back to summary |
|---|---|
| public static int checkNonNegative(int n, String message) Checks that | |
| checkNotNull | back to summary |
|---|---|
| public static <T> T checkNotNull(T value) throws NullPointerException Checks that | |
| checkNotNullState | back to summary |
|---|---|
| public static void checkNotNullState(Object object, String message) Checks that
| |
| checkNotNullState | back to summary |
|---|---|
| public static void checkNotNullState(Object object, String message, Object... args) Checks that
| |
| checkState | back to summary |
|---|---|
| public static void checkState(boolean condition, String message) throws IllegalStateException Checks a certain state.
| |
| checkState | back to summary |
|---|---|
| public static void checkState(boolean condition, String message, Object... args) throws IllegalStateException Checks a certain state.
| |