A - the argument type.public final class PredicateFunction<A> extends Object implements Function<A,Boolean>
| Constructor and Description |
|---|
PredicateFunction(Predicate<? super A> predicate)
Create a new PredicateFunction.
|
public PredicateFunction(Predicate<? super A> predicate)
predicate - to adaptpublic Boolean evaluate(A obj)
Boolean.TRUE (Boolean.FALSE)
when the test method of my underlying
predicate returns true (false).public static <A> PredicateFunction<A> adapt(Predicate<? super A> predicate)
A - the argument type.predicate - to adaptCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.