接口的使用
cn.taketoday.util.function.ThrowingBiFunction
使用ThrowingBiFunction的程序包
-
cn.taketoday.util.function中ThrowingBiFunction的使用
修饰符和类型方法说明static <T,U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of(ThrowingBiFunction<T, U, R> function) Lambda friendly convenience method that can be used to create aThrowingBiFunctionwhere theapply(Object, Object)method wraps any checked exception thrown by the supplied lambda expression or method reference.static <T,U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of(ThrowingBiFunction<T, U, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to create aThrowingBiFunctionwhere theapply(Object, Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.default ThrowingBiFunction<T,U, R> ThrowingBiFunction.throwing(BiFunction<String, Exception, RuntimeException> exceptionWrapper) Return a newThrowingBiFunctionwhere theapply(Object, Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.修饰符和类型方法说明static <T,U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of(ThrowingBiFunction<T, U, R> function) Lambda friendly convenience method that can be used to create aThrowingBiFunctionwhere theapply(Object, Object)method wraps any checked exception thrown by the supplied lambda expression or method reference.static <T,U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of(ThrowingBiFunction<T, U, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to create aThrowingBiFunctionwhere theapply(Object, Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.