@FunctionalInterface public interface Function1<T1,R> extends Function<T1,R>
| 限定符和类型 | 方法和说明 |
|---|---|
default Function0<R> |
acceptPartially(T1 t1) |
default R |
apply(T1 t1) |
R |
apply0(T1 t1) |
default R |
applyUnchecked(T1 t1) |
default R |
applyUnchecked(T1 t1,
Consumer<Throwable> handler) |
default R |
applyUnchecked(T1 t1,
Function<Throwable,R> handler) |
static <T1,R> Function1<T1,R> |
from(Function<T1,R> function) |
static <T> Function1<T,T> |
identity() |
default Function<T1,R> |
toFunction() |
Copyright © 2024. All rights reserved.