|
|
|
|
|
by jjviana
3816 days ago
|
|
"default <T> Extension<T> contraMap(Function<T, S> f) {
return (T src, Results results) -> Extension.this.apply(f.apply(src), results);
}" Java 8 Lambdas provide such an elegant syntax for anonymous classes... When lambdas were first introduced in Java , a lot of people were underwhelmed by them. It is hard to evaluate at first the impact they can have on a well designed API. |
|