L
- the left argument type.R
- the right argument type.public final class IgnoreLeftPredicate<L,R> extends Object implements BinaryPredicate<L,R>
Predicate
to the
BinaryPredicate
interface
by ignoring the first binary argument.Constructor and Description |
---|
IgnoreLeftPredicate(Predicate<? super R> predicate)
Create a new IgnoreLeftPredicate.
|
public IgnoreLeftPredicate(Predicate<? super R> predicate)
predicate
- the right predicatepublic boolean test(L left, R right)
test
in interface BinaryPredicate<L,R>
left
- the L element of the ordered pair of argumentsright
- the R element of the ordered pair of argumentspublic static <L,R> IgnoreLeftPredicate<L,R> adapt(Predicate<? super R> predicate)
L
- left typeR
- right typepredicate
- to adaptCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.