3 ms·
Using lambdas in Java 8 looks pretty much exactly like your example. The line you quote from the article is about a proposed way of declaring lambda types, whe
by jfager 14y ago
Using lambdas in Java 8 looks pretty much exactly like your example.
The line you quote from the article is about a proposed way of declaring lambda types, where instead of
private Foo MyMethod(string str, Func<Bar, string, int> func) {
//...
}
you could write something like
private Foo MyMethod(string str, (string,int)->Bar func) {
//...
}