Package io.reactivex.rxjava3.functions
package io.reactivex.rxjava3.functions
Functional interfaces of functions and actions of arity 0 to 9 and related
utility classes.
-
InterfacesClassDescriptionA functional interface similar to Runnable but allows throwing a checked exception.BiConsumer<T1,
T2> A functional interface (callback) that accepts two values (of possibly different types).BiFunction<T1,T2, R> A functional interface (callback) that computes a value based on multiple input values.BiPredicate<T1,T2> A functional interface (callback) that returns true or false for the given input values.A functional interface (callback) that returns a boolean value.A functional interface that has a single cancel method that can throw.Consumer<T>A functional interface (callback) that accepts a single value.Function<T,R> A functional interface that takes a value and returns another value, possibly with a different type and allows throwing a checked exception.Function3<T1,T2, T3, R> A functional interface (callback) that computes a value based on multiple input values.Function4<T1,T2, T3, T4, R> A functional interface (callback) that computes a value based on multiple input values.Function5<T1,T2, T3, T4, T5, R> A functional interface (callback) that computes a value based on multiple input values.Function6<T1,T2, T3, T4, T5, T6, R> A functional interface (callback) that computes a value based on multiple input values.Function7<T1,T2, T3, T4, T5, T6, T7, R> A functional interface (callback) that computes a value based on multiple input values.Function8<T1,T2, T3, T4, T5, T6, T7, T8, R> A functional interface (callback) that computes a value based on multiple input values.Function9<T1,T2, T3, T4, T5, T6, T7, T8, T9, R> A functional interface (callback) that computes a value based on multiple input values.IntFunction<T>A functional interface (callback) that takes a primitive value and return value of type T.A functional interface (callback) that consumes a primitive long value.Predicate<T>A functional interface (callback) that returns true or false for the given input value.Supplier<T>A functional interface (callback) that provides a single value or throws an exception.