Uses of Interface
com.pivovarit.function.ThrowingFunction
Packages that use ThrowingFunction
Package
Description
The
com.pivovarit.function package contains checked equivalents of the java.util.function package-
Uses of ThrowingFunction in com.pivovarit.function
Subinterfaces of ThrowingFunction in com.pivovarit.functionModifier and TypeInterfaceDescriptioninterfaceThrowingUnaryOperator<T,E extends Exception> Represents an operation on a single operand that produces a result of the same type as its operand.Methods in com.pivovarit.function that return ThrowingFunctionModifier and TypeMethodDescriptiondefault <V> ThrowingFunction<T, V, E> ThrowingFunction.andThen(ThrowingFunction<? super R, ? extends V, ? extends E> after) default ThrowingFunction<T, Void, E> ThrowingConsumer.asFunction()default ThrowingFunction<T, Boolean, E> ThrowingPredicate.asFunction()default ThrowingFunction<Void, T, E> ThrowingSupplier.asFunction()default <V> ThrowingFunction<V, R, E> ThrowingFunction.compose(ThrowingFunction<? super V, ? extends T, ? extends E> before) Methods in com.pivovarit.function with parameters of type ThrowingFunctionModifier and TypeMethodDescriptiondefault <V> ThrowingBiFunction<T1, T2, V, E> ThrowingBiFunction.andThen(ThrowingFunction<? super R, ? extends V, ? extends E> after) Performs provided action on the result of this ThrowingBiFunction instancedefault <V> ThrowingFunction<T, V, E> ThrowingFunction.andThen(ThrowingFunction<? super R, ? extends V, ? extends E> after) default <V> ThrowingFunction<V, R, E> ThrowingFunction.compose(ThrowingFunction<? super V, ? extends T, ? extends E> before) ThrowingFunction.lifted(ThrowingFunction<T, R, ?> f) Returns a new Function instance which wraps a result of the given function in an Optional, returning an empty Optional in case of a checked exceptionstatic <T1,R> Function <T1, R> ThrowingFunction.sneaky(ThrowingFunction<? super T1, ? extends R, ?> function) Returns a new Function instance which rethrows the checked exception using the Sneaky Throws patternstatic <T,R> Function <T, R> ThrowingFunction.unchecked(ThrowingFunction<T, R, ?> f) Returns a new Function instance which rethrows the checked exception using the Sneaky Throws pattern