Top Description Methods
org.eclipse.collections.api.block.function

public Interface Function<T, V>

extends Function<T, V>, Serializable
Annotations
@FunctionalInterface
Imports
java.io.Serializable

Function is a one-argument lambda which performs a transformation on the object of type T passed to the valueOf() method. This transformation can return the value of calling a getter, or perform some more elaborate logic to calculate a value, of type V.

Method Summary

Modifier and TypeMethod and Description
public default V
apply(T each)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

public V
valueOf(T each)

Inherited from java.util.function.Function:
andThencomposeidentity

Method Detail

applyback to summary
public default V apply(T each)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Annotations
@Override
valueOfback to summary
public V valueOf(T each)