Uses of Interface
org.n52.janmayen.function.ThrowingFunction
-
Packages that use ThrowingFunction Package Description org.n52.janmayen.exception org.n52.janmayen.function -
-
Uses of ThrowingFunction in org.n52.janmayen.exception
Methods in org.n52.janmayen.exception with parameters of type ThrowingFunction Modifier and Type Method Description <T,R,X extends Exception>
Optional<R>CompositeException. apply(ThrowingFunction<T,R,X> function, T t)<T,R,X extends Exception>
Function<T,Optional<R>>CompositeException. wrapFunction(ThrowingFunction<T,R,X> function) -
Uses of ThrowingFunction in org.n52.janmayen.function
Subinterfaces of ThrowingFunction in org.n52.janmayen.function Modifier and Type Interface Description interfaceThrowingUnaryOperator<T,X extends Exception>Represents an operation on a single operand that produces a result of the same type as its operand.Methods in org.n52.janmayen.function that return ThrowingFunction Modifier and Type Method Description default <V> ThrowingFunction<T,V,X>ThrowingFunction. andThen(ThrowingFunction<? super R,? extends V,? extends X> after)Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> ThrowingFunction<V,R,X>ThrowingFunction. compose(ThrowingFunction<? super V,? extends T,? extends X> before)Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.default ThrowingFunction<U,R,X>ThrowingBiFunction. curryFirst(T t)Get aThrowingFunctionby currying the first parameter.default ThrowingFunction<T,R,X>ThrowingBiFunction. currySecond(U u)Get aThrowingFunctionby currying the second parameter.Methods in org.n52.janmayen.function with parameters of type ThrowingFunction Modifier and Type Method Description default <V> ThrowingBiFunction<T,U,V,X>ThrowingBiFunction. andThen(ThrowingFunction<? super R,? extends V,? extends X> after)Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> ThrowingFunction<T,V,X>ThrowingFunction. andThen(ThrowingFunction<? super R,? extends V,? extends X> after)Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> ThrowingFunction<V,R,X>ThrowingFunction. compose(ThrowingFunction<? super V,? extends T,? extends X> before)Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.static <S,T,X extends Exception>
Function<S,T>Functions. errorWrapper(ThrowingFunction<S,T,X> fun)Wraps anThrowingFunctioninto anFunctionthat throws anErrorif the function throws anException.default <T> ThrowingConsumer<T,X>ThrowingConsumer. map(ThrowingFunction<? super T,? extends A,X> fun)Change the type of the parameter using the supplied mapperdefault <T> ThrowingBiConsumer<T,B,X>ThrowingBiConsumer. mapFirst(ThrowingFunction<? super T,? extends A,X> fun)Change the first parameter using the supplied mapper.default <T> ThrowingTriConsumer<T,B,C,X>ThrowingTriConsumer. mapFirst(ThrowingFunction<? super T,? extends A,X> fun)default <T> ThrowingBiConsumer<A,T,X>ThrowingBiConsumer. mapSecond(ThrowingFunction<? super T,? extends B,X> fun)Change the second parameter using the supplied mapper.default <T> ThrowingTriConsumer<A,T,C,X>ThrowingTriConsumer. mapSecond(ThrowingFunction<? super T,? extends B,X> fun)default <T> ThrowingTriConsumer<A,B,T,X>ThrowingTriConsumer. mapThird(ThrowingFunction<? super T,? extends C,X> fun)
-