public final class TruePredicate<T> extends java.lang.Object implements Predicate<T>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Predicate |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(T object)
Evaluates the predicate returning true always.
|
static <T> Predicate<T> |
truePredicate()
Factory returning the singleton instance.
|
public static final Predicate INSTANCE
public static <T> Predicate<T> truePredicate()
T
- the type that the predicate queriesCopyright © 2010 - 2020 Adobe. All Rights Reserved