public class Assertions extends Object
Modifier and Type | Method and Description |
---|---|
static void |
isTrue(String name,
boolean check) |
static <T> T |
notNull(String name,
T notNull) |
public static <T> T notNull(String name, T notNull) throws IllegalArgumentException
IllegalArgumentException
public static void isTrue(String name, boolean check) throws IllegalArgumentException
IllegalArgumentException