coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Introduce the ability use lambda expression direction with Eventually, Repetitively and Concurrently #418

Closed brianoliver closed 7 years ago

brianoliver commented 7 years ago

As a developer I'd like to be able to use a lambda expression against an object (or deferred) like this:

   Eventually.assertThat(object, (o) -> x, is(x));

ie: support the signature like the following on the Eventually, Repetitively and Concurrently classes.

public <T, R> void assertThat(T, Function<? super T, R>, Matcher<? super R>, Option...);