Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
io.vavr.concurrent |
This package contains basic building blocks for creating fast, asynchronous, non-blocking parallel code.
|
io.vavr.control |
Modifier and Type | Method and Description |
---|---|
default CheckedPredicate<T> |
CheckedPredicate.negate()
Negates this predicate.
|
static <T> CheckedPredicate<T> |
CheckedPredicate.of(CheckedPredicate<T> methodReference)
Creates a
CheckedPredicate . |
Modifier and Type | Method and Description |
---|---|
static <T> CheckedPredicate<T> |
CheckedPredicate.of(CheckedPredicate<T> methodReference)
Creates a
CheckedPredicate . |
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 © 2021. All Rights Reserved.