org.silverpeas.util
Interface Function<T,R>

Type Parameters:
T - the type of the input to the function
R - the type of the result of the function

public interface Function<T,R>

Represents a function that accepts one argument and produces a result.

Author:
Yohann Chastagnier

Method Summary
 R apply(T t)
          Applies this function to the given argument.
 

Method Detail

apply

R apply(T t)
Applies this function to the given argument.

Parameters:
t - the function argument
Returns:
the function result


Copyright © 2016 Silverpeas. All Rights Reserved.