Adds an asJava
method that wraps a Scala function Try[T] => U
in a
Guava FutureCallback[T]
.
Adds an asJava
method that wraps a Scala function Try[T] => U
in a
Guava FutureCallback[T]
.
The returned Guava FutureCallback[T]
forwards all method calls to the
provided Scala function Try[T] => U
.
the Scala function Try[T] => U
to wrap in a Guava FutureCallback[T]
An object with an asJava
method that returns a Guava FutureCallback[T]
view of the argument
Adds an asJava
method that wraps a Scala Future[T]
in a
Guava ListenableFuture[T]
.
Adds an asJava
method that wraps a Scala Future[T]
in a
Guava ListenableFuture[T]
.
The returned Guava ListenableFuture[T]
forwards all method calls to the
provided Future[T]
.
Note: A call on the method cancel
has no effect since it cannot
be delegated to the Scala Future[T]
the Scala Future[T]
to wrap in a Guava ListenableFuture[T]
An object with an asJava
method that returns a Guava ListenableFuture[T]
view of the argument
Adds an asScala
method that wraps Guava ListenableFuture[T]
in a Scala
Future[T]
.
Adds an asScala
method that wraps Guava ListenableFuture[T]
in a Scala
Future[T]
.
The returned Scala Future[T]
forwards all method calls to the provided
Guava ListenableFuture[T]
.
An object with an asScala
method that returns a Scala Future[T]
view of the argument
Utility functions for the work with
Future[T]
and GuavaFutureCallback[T]
,ListenableFuture[T]
Usage example for conversion between Guava and Mango:
0.7