Adds an asJava
method that wraps a Scala function () => R
in
a Java Callable
.
Adds an asJava
method that wraps a Scala function () => R
in
a Java Callable
.
All calls to the Callable
are forwarded to the provided Scala function.
the Scala function () => R
to wrap in a Java Callable
An object with an asJava
method that returns a Java Callable
view of the argument.
Adds an asJava
method that wraps a Scala function T => R
in
a Guava Function[T, R]
.
Adds an asJava
method that wraps a Scala function T => R
in
a Guava Function[T, R]
.
All calls to the Guava function are forwarded to the provided Scala function.
the Scala function T => R
to wrap in a Guava Function[T, R]
An object with an asJava
method that returns a Guava Function[T, R]
view of the argument.
Adds an asScala
method that wraps a Guava Function[T, R]
in
a Scala function T => R
.
Adds an asScala
method that wraps a Guava Function[T, R]
in
a Scala function T => R
.
All calls to the Scala function are forwarded to the provided Guava function.
the Guava Function[T, R]
to wrap in a Scala funcion T => R
An object with an asScala
method that returns a Scala
T => R
view of the argument.
Adds an asJava
method that wraps a Scala function () => Unit
in
a Java Runnable
.
Adds an asJava
method that wraps a Scala function () => Unit
in
a Java Runnable
.
All calls to the Runnable
are forwarded to the provided Scala function.
the Scala function () => Unit
to wrap in a Java Runnable
An object with an asJava
method that returns a Java Runnable
view of the argument.
Utility functions for the work with Guava
Function[T, R]
Usage example for conversion between Guava and Mango:
0.7