package agg.util.csp;
/**
* UnaryFunction is the interface that must be implemented by all unary function objects.
* Every UnaryFunction object must define a single method called execute() that takes
* a single object as its argument and returns an object. UnaryFunction objects are often
* built to operate on a specific kind of object and must therefore cast the input parameter
* in order to process it.
*/
public interface UnaryFunction {
/**
* Return the result of executing with a single Object.
* @param object The object to process.
* @return The result of processing the input Object.
*/
Object execute( Object object );
}