| Package | Description |
|---|---|
| io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
| io.vavr.control |
| Modifier and Type | Method and Description |
|---|---|
default CheckedConsumer<T> |
CheckedConsumer.andThen(CheckedConsumer<? super T> after)
Returns a chained
CheckedConsumer that first executes this.accept(t)
and then after.accept(t), for a given t of type T. |
static <T> CheckedConsumer<T> |
CheckedConsumer.of(CheckedConsumer<T> methodReference)
Creates a
CheckedConsumer. |
| Modifier and Type | Method and Description |
|---|---|
default CheckedConsumer<T> |
CheckedConsumer.andThen(CheckedConsumer<? super T> after)
Returns a chained
CheckedConsumer that first executes this.accept(t)
and then after.accept(t), for a given t of type T. |
static <T> CheckedConsumer<T> |
CheckedConsumer.of(CheckedConsumer<T> methodReference)
Creates a
CheckedConsumer. |
| Modifier and Type | Method and Description |
|---|---|
default Try<T> |
Try.andThenTry(CheckedConsumer<? super T> consumer)
Passes the result to the given
consumer if this is a Success. |
Copyright © 2021. All Rights Reserved.