public interface

Function

io.reactivex.functions.Function<T, R>

Class Overview

A functional interface that takes a value and returns another value, possibly with a different type and allows throwing a checked exception.

Summary

Public Methods
abstract R apply(T t)
Apply some calculation to the input value and return some other value.

Public Methods

public abstract R apply (T t)

Apply some calculation to the input value and return some other value.

Parameters
t the input value
Returns
  • the output value
Throws
Exception on error