Function


public interface Function

Represents a function.

Parameters

the type of the input to the function

the type of the output of the function

Summary

Public methods

abstract O
apply(I input)

Applies this function to the given input.

Public methods

apply

Added in 2.0.0
abstract O apply(I input)

Applies this function to the given input.

Parameters
I input

the input

Returns
O

the function result.