E - the type of the input to the functionR - the type of the result of the functionT - the type of the call apply method possible occur exception@FunctionalInterface public static interface Throwables.ThrowingFunction<E,R,T extends Throwable>
| 限定符和类型 | 方法和说明 |
|---|---|
R |
apply(E e) |
static <E,R> R |
apply(Throwables.ThrowingFunction<E,R,?> function,
E arg) |
static <E,R> R |
caught(Throwables.ThrowingFunction<E,R,?> function,
E arg) |
static <E,R> R |
caught(Throwables.ThrowingFunction<E,R,?> function,
E arg,
R defaultValue,
Supplier<String> message) |
static <E,R,T extends Throwable> |
checked(Throwables.ThrowingFunction<E,R,T> function) |
static <E,R> R |
ignored(Throwables.ThrowingFunction<E,R,?> function,
E arg) |
static <E,R> R |
ignored(Throwables.ThrowingFunction<E,R,?> function,
E arg,
R defaultValue) |
static <E,R> R apply(Throwables.ThrowingFunction<E,R,?> function, E arg)
static <E,R,T extends Throwable> Function<E,R> checked(Throwables.ThrowingFunction<E,R,T> function)
static <E,R> R ignored(Throwables.ThrowingFunction<E,R,?> function, E arg)
static <E,R> R ignored(Throwables.ThrowingFunction<E,R,?> function, E arg, R defaultValue)
static <E,R> R caught(Throwables.ThrowingFunction<E,R,?> function, E arg)
static <E,R> R caught(Throwables.ThrowingFunction<E,R,?> function, E arg, R defaultValue, Supplier<String> message)
Copyright © 2023. All rights reserved.