JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
io.reactivex.rxjava3.functions
Interface Function<T,R>
Type Parameters:
T
- the input value type
R
- the output value type
public interface
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.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
R
apply
(
T
t)
Apply some calculation to the input value and return some other value.
Method Detail
apply
R
apply(
@NonNull
T
t) throws
Throwable
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
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method