T - the type of the input to the predicatePredicate directly.public abstract class PredicateImpl<T> extends Object implements com.google.common.base.Predicate<T>
Predicate.
Derived class needs to implement the test(T) method.
Helps with the transition to java.util.function.Predicate,
which was introduced in JDK 1.8, and is required in Guava 21.0 and higher,
but still works on JDK 1.7.
| Constructor and Description |
|---|
PredicateImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(T input)
Deprecated.
|
abstract boolean |
test(T t)
Deprecated.
Overrides
java.util.function.Predicate#test in JDK8 and higher. |
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.