Package | Description |
---|---|
javaslang.concurrent |
This package contains basic building blocks creating fast, asynchronous, non-blocking parallel code.
|
javaslang.control |
Modifier and Type | Method and Description |
---|---|
default <U> Future<U> |
Future.flatMapTry(Try.CheckedFunction<? super T,? extends Future<? extends U>> mapper) |
default <U> Future<U> |
Future.mapTry(Try.CheckedFunction<? super T,? extends U> mapper) |
Modifier and Type | Method and Description |
---|---|
default <U> Try<U> |
Try.flatMapTry(Try.CheckedFunction<? super T,? extends Try<? extends U>> mapper)
FlatMaps the value of a Success or returns a Failure.
|
default <U> Try<U> |
Try.mapTry(Try.CheckedFunction<? super T,? extends U> mapper)
Runs the given checked function if this is a
Success ,
passing the result of the current expression to it. |
Copyright © 2016. All Rights Reserved.