Package io.github.connellite.function
Interface UncheckedBiFunction<T,U,R>
- All Superinterfaces:
BiFunction<T,U, R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
BiFunction that may throw; checked exceptions are rethrown via ReflectionUtil.propagate(Throwable).-
Method Summary
Modifier and TypeMethodDescriptiondefault RDelegates touncheckedApply(T, U); checked exceptions are propagated.static <T,U, R> UncheckedBiFunction<T, U, R> of(UncheckedBiFunction<T, U, R> function) Gives a throwing method reference this interface as its target type.uncheckedApply(T t, U u) Same asapply(T, U), but may throw.Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
apply
Delegates touncheckedApply(T, U); checked exceptions are propagated.- Specified by:
applyin interfaceBiFunction<T,U, R>
-
uncheckedApply
Same asapply(T, U), but may throw.- Throws:
Throwable
-
of
Gives a throwing method reference this interface as its target type. The same instance is returned;apply(T, U)still propagates checked exceptions.
-