public static interface Correspondence.BinaryPredicate<A extends @Nullable Object, E extends @Nullable Object>
A functional interface for a binary predicate, to be used to test whether a pair of objects of
types
A
and E
satisfy some condition.
This interface will normally be implemented using a lambda or a method reference, and the
resulting object will normally be passed directly to Correspondence.from(com.google.common.truth.Correspondence.BinaryPredicate<A, E>, java.lang.String)
. As a result,
you should almost never see BinaryPredicate
used as the type of a field or variable, or
a return type.
- Author:
- Pete Gillin
-
Method Summary
-
Method Details
-
apply
-