L
- the left argument type.R
- the right argument type.public final class BinaryNot<L,R> extends Object implements BinaryPredicate<L,R>
Tests
to the logical inverse
of some other predicate.Constructor and Description |
---|
BinaryNot(BinaryPredicate<? super L,? super R> predicate)
Create a new BinaryNot.
|
public BinaryNot(BinaryPredicate<? super L,? super R> predicate)
predicate
- BinaryPredicate to negatepublic 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> BinaryPredicate<L,R> not(BinaryPredicate<? super L,? super R> that)
L
- the left argument type.R
- the right argument type.that
- BinaryPredicate to negateCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.