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 likeBiConsumer
that declares aThrowable
.FailableBiFunction<T,U,R,E extends java.lang.Throwable> A functional interface likeBiFunction
that declares aThrowable
.FailableBiPredicate<T,U,E extends java.lang.Throwable> A functional interface likeBiPredicate
that declares aThrowable
.FailableBooleanSupplier<E extends java.lang.Throwable> A functional interface likeBooleanSupplier
that declares aThrowable
.FailableCallable<R,E extends java.lang.Throwable> A functional interface likeCallable
that declares aThrowable
.FailableConsumer<T,E extends java.lang.Throwable> A functional interface likeConsumer
that declares aThrowable
.FailableDoubleBinaryOperator<E extends java.lang.Throwable> A functional interface likeDoubleBinaryOperator
that declares aThrowable
.FailableDoubleConsumer<E extends java.lang.Throwable> A functional interface likeDoubleConsumer
that declares aThrowable
.FailableDoubleFunction<R,E extends java.lang.Throwable> A functional interface likeDoubleFunction
that declares aThrowable
.FailableDoublePredicate<E extends java.lang.Throwable> A functional interface likeDoublePredicate
that declares aThrowable
.FailableDoubleSupplier<E extends java.lang.Throwable> A functional interface likeDoubleSupplier
that declares aThrowable
.FailableDoubleToIntFunction<E extends java.lang.Throwable> A functional interface likeDoubleToIntFunction
that declares aThrowable
.FailableDoubleToLongFunction<E extends java.lang.Throwable> A functional interface likeDoubleToLongFunction
that declares aThrowable
.FailableDoubleUnaryOperator<E extends java.lang.Throwable> A functional interface likeDoubleUnaryOperator
that declares aThrowable
.FailableFunction<T,R,E extends java.lang.Throwable> A functional interface likeFunction
that declares aThrowable
.FailableIntBinaryOperator<E extends java.lang.Throwable> A functional interface likeIntBinaryOperator
that declares aThrowable
.FailableIntConsumer<E extends java.lang.Throwable> A functional interface likeIntConsumer
that declares aThrowable
.FailableIntFunction<R,E extends java.lang.Throwable> A functional interface likeIntFunction
that declares aThrowable
.FailableIntPredicate<E extends java.lang.Throwable> A functional interface likeIntPredicate
that declares aThrowable
.FailableIntSupplier<E extends java.lang.Throwable> A functional interface likeIntSupplier
that declares aThrowable
.FailableIntToDoubleFunction<E extends java.lang.Throwable> A functional interface likeIntToDoubleFunction
that declares aThrowable
.FailableIntToLongFunction<E extends java.lang.Throwable> A functional interface likeIntToLongFunction
that declares aThrowable
.FailableIntUnaryOperator<E extends java.lang.Throwable> A functional interface likeIntUnaryOperator
that declares aThrowable
.FailableLongBinaryOperator<E extends java.lang.Throwable> A functional interface likeLongBinaryOperator
that declares aThrowable
.FailableLongConsumer<E extends java.lang.Throwable> A functional interface likeLongConsumer
that declares aThrowable
.FailableLongFunction<R,E extends java.lang.Throwable> A functional interface likeLongFunction
that declares aThrowable
.FailableLongPredicate<E extends java.lang.Throwable> A functional interface likeLongPredicate
that declares aThrowable
.FailableLongSupplier<E extends java.lang.Throwable> A functional interface likeLongSupplier
that declares aThrowable
.FailableLongToDoubleFunction<E extends java.lang.Throwable> A functional interface likeLongToDoubleFunction
that declares aThrowable
.FailableLongToIntFunction<E extends java.lang.Throwable> A functional interface likeLongToIntFunction
that declares aThrowable
.FailableLongUnaryOperator<E extends java.lang.Throwable> A functional interface likeLongUnaryOperator
that declares aThrowable
.FailableObjDoubleConsumer<T,E extends java.lang.Throwable> A functional interface likeObjDoubleConsumer
that declares aThrowable
.FailableObjIntConsumer<T,E extends java.lang.Throwable> A functional interface likeObjIntConsumer
that declares aThrowable
.FailableObjLongConsumer<T,E extends java.lang.Throwable> A functional interface likeObjLongConsumer
that declares aThrowable
.FailablePredicate<T,E extends java.lang.Throwable> A functional interface likePredicate
that declares aThrowable
.FailableRunnable<E extends java.lang.Throwable> A functional interface likeRunnable
that declares aThrowable
.FailableShortSupplier<E extends java.lang.Throwable> A functional interface likeIntSupplier
but forshort
that declares aThrowable
.FailableSupplier<R,E extends java.lang.Throwable> A functional interface likeSupplier
that declares aThrowable
.FailableToDoubleBiFunction<T,U,E extends java.lang.Throwable> A functional interface likeToDoubleBiFunction
that declares aThrowable
.FailableToDoubleFunction<T,E extends java.lang.Throwable> A functional interface likeToDoubleFunction
that declares aThrowable
.FailableToIntBiFunction<T,U,E extends java.lang.Throwable> A functional interface likeToIntBiFunction
that declares aThrowable
.FailableToIntFunction<T,E extends java.lang.Throwable> A functional interface likeToIntFunction
that declares aThrowable
.FailableToLongBiFunction<T,U,E extends java.lang.Throwable> A functional interface likeToLongBiFunction
that declares aThrowable
.FailableToLongFunction<T,E extends java.lang.Throwable> A functional interface likeToLongFunction
that 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.function
package, or more generally, with Java 8 lambdas.