public static enum StringValidators.Predicates extends Enum<StringValidators.Predicates> implements com.google.common.base.Predicate<String>
Enum Constant and Description |
---|
IS_DATE_FORMAT |
IS_NOT_NULL |
IS_NULL |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
apply(String s) |
static StringValidators.Predicates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringValidators.Predicates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringValidators.Predicates IS_NULL
public static final StringValidators.Predicates IS_NOT_NULL
public static final StringValidators.Predicates IS_DATE_FORMAT
public static StringValidators.Predicates[] values()
for (StringValidators.Predicates c : StringValidators.Predicates.values()) System.out.println(c);
public static StringValidators.Predicates valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004-2016. All Rights Reserved.