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 |
doCaught(Throwables.ThrowingFunction<E,R,?> function,
E arg) |
static <E,R> R |
doCaught(Throwables.ThrowingFunction<E,R,?> function,
E arg,
R defaultValue,
Supplier<String> message) |
static <E,R> R |
doChecked(Throwables.ThrowingFunction<E,R,?> function,
E arg) |
static <E,R> Function<E,R> |
toCaught(Throwables.ThrowingFunction<E,R,?> function) |
static <E,R> Function<E,R> |
toCaught(Throwables.ThrowingFunction<E,R,?> function,
R defaultValue,
Supplier<String> message) |
static <E,R> Function<E,R> |
toChecked(Throwables.ThrowingFunction<E,R,?> function) |
default Throwables.ThrowingConsumer<E,T> |
toConsumer() |
default Throwables.ThrowingConsumer<E,T> toConsumer()
static <E,R> R doChecked(Throwables.ThrowingFunction<E,R,?> function, E arg)
static <E,R> R doCaught(Throwables.ThrowingFunction<E,R,?> function, E arg)
static <E,R> R doCaught(Throwables.ThrowingFunction<E,R,?> function, E arg, R defaultValue, Supplier<String> message)
static <E,R> Function<E,R> toChecked(Throwables.ThrowingFunction<E,R,?> function)
static <E,R> Function<E,R> toCaught(Throwables.ThrowingFunction<E,R,?> function)
static <E,R> Function<E,R> toCaught(Throwables.ThrowingFunction<E,R,?> function, R defaultValue, Supplier<String> message)
Copyright © 2025. All rights reserved.