The Android Developer Challenge is back! Submit your idea before December 2.

Function

interface Function<I : Any!, O : Any!>
androidx.arch.core.util.Function

Represents a function.

Summary

Public methods

abstract O
apply(input: I)

Applies this function to the given input.

Public methods

apply

abstract fun apply(input: I): O

Applies this function to the given input.

Parameters
input I: the input
Return
O: the function result.