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.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | BooleanConsumer
A functional interface like |
| public interface | ByteConsumer
A functional interface like |
| public interface | ByteSupplier
A functional interface like |
| public interface | FailableBiConsumer<
Consumed type 1. T, Consumed type 2. U, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableBiFunction<
Input type 1. T, Input type 2. U, Return type. R, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableBiPredicate<
Predicate type 1. T, Predicate type 2. U, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableBooleanSupplier<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableByteConsumer<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableByteSupplier<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableCallable<
Return type. R, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableConsumer<
the type of the input to the operation T, Thrown exception type. E extends Throwable>A functional interface like |
| public interface | FailableDoubleBinaryOperator<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoubleConsumer<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoubleFunction<
Return type. R, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoublePredicate<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoubleSupplier<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoubleToIntFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoubleToLongFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableDoubleUnaryOperator<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableFunction<
Input type 1. T, Return type. R, The type of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntBinaryOperator<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntConsumer<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntFunction<
Return type. R, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntPredicate<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntSupplier<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntToDoubleFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntToFloatFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntToLongFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableIntUnaryOperator<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongBinaryOperator<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongConsumer<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongFunction<
Return type. R, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongPredicate<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongSupplier<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongToDoubleFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongToIntFunction<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableLongUnaryOperator<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableObjDoubleConsumer<
the type of the object argument to the operation. T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableObjIntConsumer<
the type of the object argument to the operation. T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableObjLongConsumer<
the type of the object argument to the operation. T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailablePredicate<
Predicate type. T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableRunnable<
The kind of E extends Throwable>Throwable.A functional interface like |
| public interface | FailableShortSupplier<
The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableSupplier<
The type of results supplied by this supplier. T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableToBooleanFunction<
the type of the argument to the function T, The kind of thrown exception or error. E extends Throwable>A functional interface like a |
| public interface | FailableToDoubleBiFunction<
the type of the first argument to the function T, the type of the second argument to the function U, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableToDoubleFunction<
the type of the argument to the function T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableToIntBiFunction<
the type of the first argument to the function T, the type of the second argument to the function U, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableToIntFunction<
the type of the argument to the function T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableToLongBiFunction<
the type of the first argument to the function T, the type of the second argument to the function U, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | FailableToLongFunction<
the type of the first argument to the function T, The kind of thrown exception or error. E extends Throwable>A functional interface like |
| public interface | IntToCharFunction
Represents a function that accepts an int-valued argument and produces a char-valued result. |
| public interface | ToBooleanBiFunction<
the type of the first argument to the function. T, the type of the second argument to the function. U>A function that accepts two arguments and produces a boolean result. |
| public interface | TriConsumer<
type of the first argument T, type of the second argument U, type of the third argument V>Represents an operation that accepts three input arguments and returns no result. |
| public interface | TriFunction<
the type of the first argument to the function T, the type of the second argument to the function U, the type of the third argument to the function V, the type of the result of the function R>Represents a function that accepts three arguments and produces a result. |
| Modifier and Type | Class and Description |
|---|---|
| public class | |
| public class | Failable
This class provides utility functions, and classes for working with the |
| public class | |
| public class | MethodInvokers
Converts |
| public class | Predicates
Factory for |
| public class |