Uses of Interface
com.dudko.tools.safejavastreams.function.ThrowingFunction
Packages that use ThrowingFunction
-
Uses of ThrowingFunction in com.dudko.tools.safejavastreams.adapter
Methods in com.dudko.tools.safejavastreams.adapter with parameters of type ThrowingFunctionModifier and TypeMethodDescriptionCheckedAdapters.safeFunctionEither
(ThrowingFunction<T, R> function) Converts a ThrowingFunction into one that returnsEither<Exception, R>
.CheckedAdapters.safeFunctionOptional
(ThrowingFunction<T, R> function) Converts a ThrowingFunction into one that returns Optional.static <T,
R> Function<T, R> CheckedAdapters.wrapFunction
(ThrowingFunction<T, R> function) Wraps a ThrowingFunction and rethrows as unchecked RuntimeException.