static enum Predicates.ObjectPredicate extends java.lang.Enum<Predicates.ObjectPredicate> implements Predicate<java.lang.Object>
Enum Constant and Description |
---|
ALWAYS_FALSE |
ALWAYS_TRUE |
IS_NULL |
NOT_NULL |
Modifier and Type | Method and Description |
---|---|
static Predicates.ObjectPredicate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Predicates.ObjectPredicate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
(package private) <T> Predicate<T> |
withNarrowedType() |
public static final Predicates.ObjectPredicate ALWAYS_TRUE
Predicates.alwaysTrue()
public static final Predicates.ObjectPredicate ALWAYS_FALSE
Predicates.alwaysFalse()
public static final Predicates.ObjectPredicate IS_NULL
Predicates.isNull()
public static final Predicates.ObjectPredicate NOT_NULL
Predicates.notNull()
public static Predicates.ObjectPredicate[] values()
for (Predicates.ObjectPredicate c : Predicates.ObjectPredicate.values()) System.out.println(c);
public static Predicates.ObjectPredicate valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null<T> Predicate<T> withNarrowedType()