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 Future<T> |
Future.filterTry(Try.CheckedPredicate<? super T> predicate)
Filters the result of this
Future by calling Try.filterTry(CheckedPredicate) . |
Modifier and Type | Method and Description |
---|---|
default Try.CheckedPredicate<T> |
Try.CheckedPredicate.negate()
Negates this predicate.
|
Modifier and Type | Method and Description |
---|---|
default Try<T> |
Try.filterTry(Try.CheckedPredicate<? super T> predicate)
Returns
this if this is a Failure or this is a Success and the value satisfies the predicate. |
default Try<T> |
Try.filterTry(Try.CheckedPredicate<? super T> predicate,
Supplier<? extends Throwable> throwableSupplier)
Returns
this if this is a Failure or this is a Success and the value satisfies the predicate. |
Copyright © 2016. All Rights Reserved.