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