javolution.util.function.Function Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javolution-core-java-msftbx
Show all versions of javolution-core-java-msftbx
Only the Java Core part of Javolution library, with slight modifications for use in MSFTBX.
The newest version!
/*
* Javolution - Java(TM) Solution for Real-Time and Embedded Systems
* Copyright (C) 2012 - Javolution (http://javolution.org/)
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software is
* freely granted, provided that this notice is preserved.
*/
package javolution.util.function;
/**
* A function that perform some operation and returns the result of
* that operation.
*
* @param the type of the input parameter of the apply operation.
* @param the type of the result of the apply operation.
*
* @author Jean-Marie Dautelle
* @version 6.0, July 21, 2013
* @see Wikipedia: Function
*/
public interface Function {
/**
* Returns the result of applying this function to the specified parameter.
*
* @param param the parameter object on which the function is performed.
* @return the result of the function.
*/
R apply(T param);
}