public class Assert extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(String textToSearch,
String substring) |
static boolean |
has(Collection<?> collection) |
static boolean |
has(Map<?,?> map) |
static boolean |
has(Object object) |
static boolean |
has(Object[] array) |
static boolean |
has(String text) |
public static boolean has(Object object)
public static boolean has(String text)
public static boolean contains(String textToSearch, String substring)
public static boolean has(Object[] array)
null and must
have at least one element. FALSE otherwisepublic static boolean has(Collection<?> collection)
null and
must have at least one element. @return FALSE otherwisepublic static boolean has(Map<?,?> map)
null and must have at
least one entry. Queue FALSE otherwiseCopyright © 2019. All rights reserved.