arez.Function Maven / Gradle / Ivy
package arez;
/**
* Functional interface for returning a value.
*
* @param The type of the returned value.
*/
@FunctionalInterface
public interface Function
{
/**
* Return a value.
*
* @return the value generated by function.
* @throws Throwable if unable to return value.
*/
T call()
throws Throwable;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy