Closed GoogleCodeExporter closed 9 years ago
This should be available soon as
Equivalences.equals().onResultOf(function).equivalentTo(expectedResult) --
however unintuitive that incantation might be.
Original comment by kevinb@google.com
on 25 Apr 2011 at 8:41
Wait! I'm being silly. This should already be available as
Predicates.compose(Predicates.equalTo(expectedResult), function)!
Original comment by kevinb@google.com
on 25 Apr 2011 at 8:43
D'oh! Yeah that's much more elegant. Thanks!
Original comment by stephen....@gmail.com
on 25 Apr 2011 at 9:17
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:15
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:09
Original issue reported on code.google.com by
stephen....@gmail.com
on 25 Apr 2011 at 8:24