public class Preconditions extends Object
| Constructor and Description |
|---|
Preconditions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(String message,
boolean condition)
Check that a given condition is true.
|
public static void check(String message, boolean condition)
message - message to display if the precondition check failscondition - the result of evaluating the conditionCopyright © 2019. All rights reserved.