A - the argument type.public final class BinaryPredicateUnaryPredicate<A> extends Object implements UnaryPredicate<A>
| Constructor and Description |
|---|
BinaryPredicateUnaryPredicate(BinaryPredicate<? super A,? super A> predicate)
Create a new BinaryPredicateUnaryPredicate.
|
| Modifier and Type | Method and Description |
|---|---|
static <A> UnaryPredicate<A> |
adapt(BinaryPredicate<? super A,? super A> predicate)
Adapt a BinaryFunction as a UnaryFunction.
|
boolean |
equals(BinaryPredicateUnaryPredicate<?> that)
Learn whether another BinaryPredicateUnaryPredicate is equal to
this. |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
test(A obj)
Evaluate this predicate.
|
String |
toString() |
public BinaryPredicateUnaryPredicate(BinaryPredicate<? super A,? super A> predicate)
predicate - to adaptpublic boolean test(A obj)
test in interface UnaryPredicate<A>obj - the A object to testpublic boolean equals(BinaryPredicateUnaryPredicate<?> that)
this.that - BinaryPredicateUnaryPredicate to checkpublic static <A> UnaryPredicate<A> adapt(BinaryPredicate<? super A,? super A> predicate)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.