public final class Assert extends Object
Modifier and Type | Method and Description |
---|---|
static void |
hasText(String s) |
static void |
hasText(String s,
String message) |
static void |
isNull(Object o,
String message) |
static void |
isTrue(boolean b) |
static void |
isTrue(boolean b,
String message) |
static void |
notEmpty(Collection<?> c,
String message) |
static void |
notEmpty(Object[] a,
String message) |
static void |
notNull(Object o) |
static void |
notNull(Object o,
String message) |
public static void notNull(Object o)
public static void isTrue(boolean b)
public static void isTrue(boolean b, String message)
public static void notEmpty(Collection<?> c, String message)
public static void hasText(String s)
Copyright © 2013. All Rights Reserved.