You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the documentation regarding function conversion is wrong (at least the java code example) and doesn't compile.
To convert a java function to a scala function (like in baz) I have to write the following:
import static scala.compat.java8.JFunction.*;
...
// instead of return bar(functionConverters.asScalaFromFunction(f)) -> where should functionConverters come from?
return bar(func(f));
...
The text was updated successfully, but these errors were encountered:
I think the documentation regarding function conversion is wrong (at least the java code example) and doesn't compile.
To convert a java function to a scala function (like in baz) I have to write the following:
The text was updated successfully, but these errors were encountered: