public abstract class Try extends Object
| Constructor and Description |
|---|
Try() |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Exception> |
consumer(ThrowingConsumer<T,E> consumer) |
static <T,R,E extends Exception> |
function(ThrowingFunction<T,R,E> function) |
static <E extends Exception> |
runable(ThrowingRunable<E> runable) |
static <T,E extends Exception> |
supplier(ThrowingSupplier<T,E> supplier) |
public static <T,R,E extends Exception> ThrowingFunction<T,R,E> function(ThrowingFunction<T,R,E> function)
public static <T,E extends Exception> ThrowingSupplier<T,E> supplier(ThrowingSupplier<T,E> supplier)
public static <T,E extends Exception> ThrowingConsumer<T,E> consumer(ThrowingConsumer<T,E> consumer)
public static <E extends Exception> ThrowingRunable<E> runable(ThrowingRunable<E> runable)
Copyright © 2017. All rights reserved.