接口的使用
cn.taketoday.util.function.ThrowingSupplier
使用ThrowingSupplier的程序包
程序包
说明
SSL trust material provider for PEM-encoded certificates.
Useful generic
java.util.function helper classes.-
cn.taketoday.core.ssl.pem中ThrowingSupplier的使用
修饰符和类型方法说明private static <T> Supplier<T>LoadedPemSslStore.supplier(ThrowingSupplier<T> supplier) -
cn.taketoday.util.function中ThrowingSupplier的使用
修饰符和类型方法说明static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier) Lambda friendly convenience method that can be used to create aThrowingSupplierwhere theget()method wraps any checked exception thrown by the supplied lambda expression or method reference.static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingSupplierwhere theget()method wraps any thrown checked exceptions using the givenexceptionWrapper.default ThrowingSupplier<T>ThrowingSupplier.throwing(BiFunction<String, Exception, RuntimeException> exceptionWrapper) Return a newThrowingSupplierwhere theget()method wraps any thrown checked exceptions using the givenexceptionWrapper.修饰符和类型方法说明static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier) Lambda friendly convenience method that can be used to create aThrowingSupplierwhere theget()method wraps any checked exception thrown by the supplied lambda expression or method reference.static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingSupplierwhere theget()method wraps any thrown checked exceptions using the givenexceptionWrapper.