Package io.reactivex.rxjava3.functions
Interface Function<T,R>
-
- Type Parameters:
T- the input value typeR- the output value type
- All Known Implementing Classes:
ArrayListSupplier,FlowableCombineLatest.SingletonArrayFunc,FlowableInternalHelper.FlatMapIntoIterable,FlowableInternalHelper.FlatMapWithCombinerInner,FlowableInternalHelper.FlatMapWithCombinerOuter,FlowableInternalHelper.ItemDelayFunction,FlowableWithLatestFromMany.SingletonArrayFunc,Functions.Array2Func,Functions.Array3Func,Functions.Array4Func,Functions.Array5Func,Functions.Array6Func,Functions.Array7Func,Functions.Array8Func,Functions.Array9Func,Functions.CastToClass,Functions.Identity,Functions.JustValue,Functions.ListSorter,Functions.TimestampFunction,MaybeToPublisher,MaybeZipArray.SingletonArrayFunc,MaybeZipIterable.SingletonArrayFunc,ObservableInternalHelper.FlatMapIntoIterable,ObservableInternalHelper.FlatMapWithCombinerInner,ObservableInternalHelper.FlatMapWithCombinerOuter,ObservableInternalHelper.ItemDelayFunction,ObservableInternalHelper.MapToInt,ObservableWithLatestFromMany.SingletonArrayFunc,SchedulerPoolFactory.SystemPropertyAccessor,SchedulerWhen.CreateWorkerFunction,SingleInternalHelper.ToFlowable,SingleZipArray.SingletonArrayFunc,SingleZipIterable.SingletonArrayFunc,SorterFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Function<@NonNull T,@NonNull R>A functional interface that takes a value and returns another value, possibly with a different type and allows throwing a checked exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(@NonNull T t)Apply some calculation to the input value and return some other value.
-