arez.Procedure Maven / Gradle / Ivy
package arez;
/**
* Interface for performing an action that does not return a value.
*/
@FunctionalInterface
public interface Procedure
{
/**
* Perform an action, or throw an exception if unable to do so.
*
* @throws Throwable if unable to perform action.
*/
void call()
throws Throwable;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy