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.
A functional interface that takes a value and returns another value, possibly with a
different type and allows throwing a checked exception.
-
Method Summary
-
Method Details
-
apply
Apply some calculation to the input value and return some other value.- Parameters:
t
- the input value- Returns:
- the output value
- Throws:
Throwable
- if the implementation wishes to throw any type of exception
-