org.tudalgo.algoutils.student.test.Task Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoutils-student Show documentation
Show all versions of algoutils-student Show documentation
Common utilities for the Fachgebiet Algorithmik of TU Darmstadt
The newest version!
package org.tudalgo.algoutils.student.test;
/**
* This is a functional interface that can be used to execute a block of code that potentially throws a
* {@link Throwable}.
*/
@FunctionalInterface
public interface Task {
/**
* Executes the task.
*
* @throws Throwable the potential throwable that is thrown by the task
*/
void execute() throws Throwable;
}