Package | Description |
---|---|
io.vavr | |
io.vavr.concurrent |
This package contains basic building blocks creating fast, asynchronous, non-blocking parallel code.
|
io.vavr.control |
Modifier and Type | Method and Description |
---|---|
default CheckedPredicate<T> |
CheckedPredicate.negate()
Negates this predicate.
|
Modifier and Type | Method and Description |
---|---|
default Future<T> |
Future.filterTry(CheckedPredicate<? super T> predicate)
Filters the result of this
Future by calling Try.filterTry(CheckedPredicate) . |
Modifier and Type | Method and Description |
---|---|
default Try<T> |
Try.filterTry(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(CheckedPredicate<? super T> predicate,
CheckedFunction1<? super T,? extends Throwable> errorProvider)
Returns
this if this is a Failure or this is a Success and the value satisfies the predicate. |
default Try<T> |
Try.filterTry(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 © 2017. All Rights Reserved.