Top Description Methods
org.glassfish.pfl.basic.func

public Interface UnaryFunction<T, R>

extends Function<T, R>
Known Direct Subinterfaces
org.glassfish.pfl.basic.algorithm.Graph.Finder
Known Direct Implementers
org.glassfish.pfl.basic.func.UnaryFunctionBase
Annotations
@Deprecated
Imports
java.util.function.Function

Deprecated

replaced in JDK8 by java.util.function.Function

Represents a functions that takes one argument and returns a result

Method Summary

Modifier and TypeMethod and Description
public default R
apply(T t)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

public R
evaluate(T arg)

Inherited from java.util.function.Function:
andThencomposeidentity

Method Detail

applyback to summary
public default R apply(T t)

Implements java.util.function.Function.apply.

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

Applies this function to the given argument.

Annotations
@Override
evaluateback to summary
public R evaluate(T arg)