A - the type of the result of the supplierE - The type of exception potentially thrown@FunctionalInterface public static interface Checked.Supplier<A,E extends Exception>
Checked.Supplier that may throw an exception.| Modifier and Type | Method and Description |
|---|---|
default Try<A> |
attempt() |
A |
get() |
Copyright © 2017 Atlassian. All rights reserved.