Package org.apache.commons.lang3.function
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java 8 lambdas.
Contains failable functional interfaces that address the fact that lambdas
are supposed not to throw Exceptions, at least not checked Exceptions, A.K.A.
instances of Exception. A failable functional interface
declares a type of Exception that may be raised if the function fails.
- Since:
- 3.11
-
Interface Summary Interface Description FailableBiConsumer<T,U,E extends java.lang.Throwable> A functional interface likeBiConsumerthat declares aThrowable.FailableBiFunction<T,U,R,E extends java.lang.Throwable> A functional interface likeBiFunctionthat declares aThrowable.FailableBiPredicate<T,U,E extends java.lang.Throwable> A functional interface likeBiPredicatethat declares aThrowable.FailableBooleanSupplier<E extends java.lang.Throwable> A functional interface likeBooleanSupplierthat declares aThrowable.FailableCallable<R,E extends java.lang.Throwable> A functional interface likeCallablethat declares aThrowable.FailableConsumer<T,E extends java.lang.Throwable> A functional interface likeConsumerthat declares aThrowable.FailableDoubleBinaryOperator<E extends java.lang.Throwable> A functional interface likeDoubleBinaryOperatorthat declares aThrowable.FailableDoubleConsumer<E extends java.lang.Throwable> A functional interface likeDoubleConsumerthat declares aThrowable.FailableDoubleFunction<R,E extends java.lang.Throwable> A functional interface likeDoubleFunctionthat declares aThrowable.FailableDoublePredicate<E extends java.lang.Throwable> A functional interface likeDoublePredicatethat declares aThrowable.FailableDoubleSupplier<E extends java.lang.Throwable> A functional interface likeDoubleSupplierthat declares aThrowable.FailableDoubleToIntFunction<E extends java.lang.Throwable> A functional interface likeDoubleToIntFunctionthat declares aThrowable.FailableDoubleToLongFunction<E extends java.lang.Throwable> A functional interface likeDoubleToLongFunctionthat declares aThrowable.FailableDoubleUnaryOperator<E extends java.lang.Throwable> A functional interface likeDoubleUnaryOperatorthat declares aThrowable.FailableFunction<T,R,E extends java.lang.Throwable> A functional interface likeFunctionthat declares aThrowable.FailableIntBinaryOperator<E extends java.lang.Throwable> A functional interface likeIntBinaryOperatorthat declares aThrowable.FailableIntConsumer<E extends java.lang.Throwable> A functional interface likeIntConsumerthat declares aThrowable.FailableIntFunction<R,E extends java.lang.Throwable> A functional interface likeIntFunctionthat declares aThrowable.FailableIntPredicate<E extends java.lang.Throwable> A functional interface likeIntPredicatethat declares aThrowable.FailableIntSupplier<E extends java.lang.Throwable> A functional interface likeIntSupplierthat declares aThrowable.FailableIntToDoubleFunction<E extends java.lang.Throwable> A functional interface likeIntToDoubleFunctionthat declares aThrowable.FailableIntToLongFunction<E extends java.lang.Throwable> A functional interface likeIntToLongFunctionthat declares aThrowable.FailableIntUnaryOperator<E extends java.lang.Throwable> A functional interface likeIntUnaryOperatorthat declares aThrowable.FailableLongBinaryOperator<E extends java.lang.Throwable> A functional interface likeLongBinaryOperatorthat declares aThrowable.FailableLongConsumer<E extends java.lang.Throwable> A functional interface likeLongConsumerthat declares aThrowable.FailableLongFunction<R,E extends java.lang.Throwable> A functional interface likeLongFunctionthat declares aThrowable.FailableLongPredicate<E extends java.lang.Throwable> A functional interface likeLongPredicatethat declares aThrowable.FailableLongSupplier<E extends java.lang.Throwable> A functional interface likeLongSupplierthat declares aThrowable.FailableLongToDoubleFunction<E extends java.lang.Throwable> A functional interface likeLongToDoubleFunctionthat declares aThrowable.FailableLongToIntFunction<E extends java.lang.Throwable> A functional interface likeLongToIntFunctionthat declares aThrowable.FailableLongUnaryOperator<E extends java.lang.Throwable> A functional interface likeLongUnaryOperatorthat declares aThrowable.FailableObjDoubleConsumer<T,E extends java.lang.Throwable> A functional interface likeObjDoubleConsumerthat declares aThrowable.FailableObjIntConsumer<T,E extends java.lang.Throwable> A functional interface likeObjIntConsumerthat declares aThrowable.FailableObjLongConsumer<T,E extends java.lang.Throwable> A functional interface likeObjLongConsumerthat declares aThrowable.FailablePredicate<T,E extends java.lang.Throwable> A functional interface likePredicatethat declares aThrowable.FailableRunnable<E extends java.lang.Throwable> A functional interface likeRunnablethat declares aThrowable.FailableShortSupplier<E extends java.lang.Throwable> A functional interface likeIntSupplierbut forshortthat declares aThrowable.FailableSupplier<R,E extends java.lang.Throwable> A functional interface likeSupplierthat declares aThrowable.FailableToDoubleBiFunction<T,U,E extends java.lang.Throwable> A functional interface likeToDoubleBiFunctionthat declares aThrowable.FailableToDoubleFunction<T,E extends java.lang.Throwable> A functional interface likeToDoubleFunctionthat declares aThrowable.FailableToIntBiFunction<T,U,E extends java.lang.Throwable> A functional interface likeToIntBiFunctionthat declares aThrowable.FailableToIntFunction<T,E extends java.lang.Throwable> A functional interface likeToIntFunctionthat declares aThrowable.FailableToLongBiFunction<T,U,E extends java.lang.Throwable> A functional interface likeToLongBiFunctionthat declares aThrowable.FailableToLongFunction<T,E extends java.lang.Throwable> A functional interface likeToLongFunctionthat declares aThrowable.ToBooleanBiFunction<T,U> A function that accepts two arguments and produces a boolean result.TriFunction<T,U,V,R> Represents a function that accepts three arguments and produces a result. -
Class Summary Class Description Failable This class provides utility functions, and classes for working with thejava.util.functionpackage, or more generally, with Java 8 lambdas.