Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Function

public interface Function

androidx.arch.core.util.Function<I, O>


Represents a function.

Summary

Public methods

abstract O apply(I input)

Applies this function to the given input.

Public methods

apply

public abstract O apply (I input)

Applies this function to the given input.

Parameters
input I: the input

Returns
O the function result.