com.meliorbis.numerics.threading.ComputableRecursiveTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Numerics Show documentation
Show all versions of Numerics Show documentation
A library for working with large multi-dimensional arrays and the functions they represent
package com.meliorbis.numerics.threading;
import java.util.concurrent.Callable;
/**
* A Callable which produces a result in which the 'compute' method is called from
* call by default.
*/
public interface ComputableRecursiveTask extends Callable
{
T compute() throws Exception;
@Override
default T call() throws Exception
{
return compute();
}
}