added in version 1.0.0

Function

public interface Function

android.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

added in version 1.0.0
O apply (I input)

Applies this function to the given input.

Parameters
input I: the input

Returns
O the function result.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025年02月10日 UTC.