@FunctionalInterface public interface Function2<T1,T2,R> extends BiFunction<T1,T2,R>
| 限定符和类型 | 方法和说明 |
|---|---|
default Function1<T2,R> |
acceptPartially(T1 t1) |
default Function0<R> |
acceptPartially(T1 t1,
T2 t2) |
default R |
apply(T1 t1,
T2 t2) |
R |
apply0(T1 t1,
T2 t2) |
default R |
applyUnchecked(T1 t1,
T2 t2) |
default R |
applyUnchecked(T1 t1,
T2 t2,
Consumer<Throwable> handler) |
default R |
applyUnchecked(T1 t1,
T2 t2,
Function<Throwable,R> handler) |
static <T1,T2,R> Function2<T1,T2,R> |
from(BiFunction<T1,T2,R> biFunction) |
default BiFunction<T1,T2,R> |
toBiFunction() |
andThen@Nonnull default BiFunction<T1,T2,R> toBiFunction()
@Nonnull static <T1,T2,R> Function2<T1,T2,R> from(@Nonnull BiFunction<T1,T2,R> biFunction)
Copyright © 2024. All rights reserved.