| Package | Description |
|---|---|
| io.atlassian.fugue |
| Modifier and Type | Method and Description |
|---|---|
static <A,E extends Exception> |
Checked.delay(Checked.Supplier<A,E> s)
Create a new delayed Try representing a delayed evaluation of a potentially
exception throwing operation.
|
static <A,E extends Exception> |
Checked.now(Checked.Supplier<A,E> s)
Create a new Try representing the result of a potentially exception
throwing operation.
|
static <A,E extends Exception> |
Checked.of(Checked.Supplier<A,E> s)
Deprecated.
since 4.6 This is being replaced with
Checked.now(Supplier) to
make it clear that the supplier is evaluated immediately. If the evaluation
needs to be delayed, use Checked.delay(Supplier). |
Copyright © 2018 Atlassian. All rights reserved.