| Modifier and Type | Interface and Description |
|---|---|
| public interface | Action
A functional interface similar to Runnable but allows throwing a checked exception. |
| public interface | BiConsumer<
the first value type T1, the second value type T2>A functional interface (callback) that accepts two values (of possibly different types). |
| public interface | BiFunction<
the first value type T1, the second value type T2, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | BiPredicate<
the first value T1, the second value T2>A functional interface (callback) that returns true or false for the given input values. |
| public interface | BooleanSupplier
A functional interface (callback) that returns a boolean value. |
| public interface | Cancellable
A functional interface that has a single cancel method that can throw. |
| public interface | |
| public interface | Function<
the input value type T, the output value type R>A functional interface that takes a value and returns another value, possibly with a different type and allows throwing a checked exception. |
| public interface | Function3<
the first value type T1, the second value type T2, the third value type T3, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | Function4<
the first value type T1, the second value type T2, the third value type T3, the fourth value type T4, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | Function5<
the first value type T1, the second value type T2, the third value type T3, the fourth value type T4, the fifth value type T5, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | Function6<
the first value type T1, the second value type T2, the third value type T3, the fourth value type T4, the fifth value type T5, the sixth value type T6, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | Function7<
the first value type T1, the second value type T2, the third value type T3, the fourth value type T4, the fifth value type T5, the sixth value type T6, the seventh value type T7, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | Function8<
the first value type T1, the second value type T2, the third value type T3, the fourth value type T4, the fifth value type T5, the sixth value type T6, the seventh value type T7, the eighth value type T8, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | Function9<
the first value type T1, the second value type T2, the third value type T3, the fourth value type T4, the fifth value type T5, the sixth value type T6, the seventh value type T7, the eighth value type T8, the ninth value type T9, the result type R>A functional interface (callback) that computes a value based on multiple input values. |
| public interface | IntFunction<
the returned value type T>A functional interface (callback) that takes a primitive value and return value of type T. |
| public interface | LongConsumer
A functional interface (callback) that consumes a primitive long value. |
| public interface | Predicate<
the first value T>A functional interface (callback) that returns true or false for the given input value. |