Package org.tensorics.core.lang
Class TensoricTask<E,T>
- java.lang.Object
-
- org.tensorics.core.lang.TensoricSupport<E>
-
- org.tensorics.core.lang.TensoricTask<E,T>
-
- Type Parameters:
E
- the type of the elements of the tensorsT
- the type of the result of the script.
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
public abstract class TensoricTask<E,T> extends TensoricSupport<E> implements java.util.concurrent.Callable<T>
This class is intended to be subclassed in order to have convenient access to the methods in the tensoric field usage. Users of the class have to simply implement therun()
method, which can use any of the tensoric field usage functionalities and has to return the final value. For convenience, this class already implements theCallable
interface so that it can easily be used in concurrent environments.
-
-
Constructor Summary
Constructors Constructor Description TensoricTask(EnvironmentImpl<E> environment)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
call()
abstract T
run()
-
Methods inherited from class org.tensorics.core.lang.TensoricSupport
absoluteValueOf, absoluteValueOf, avarageOf, averageOf, averageOfQ, calculate, calculate, calculate, calculate, calculate, calculateQ, calculateQ, confidenceLevelOf, convert, countOf, elementInverseOf, elementwise, elementwise, inverseOf, inverseOf, negativeOf, negativeOf, negativeOf, negativeOf, negativeOfQ, one, ones, resample, rmsOf, rmsOfQ, sizeOf, sizeOfQ, squareOf, squareRootOf, stdOf, stdOfQ, sumOf, sumOfQ, sumOfSquaresOf, testIf, testIf, two, valueOf, valueOf, valueOf, valuesOf, valuesOf, valuesOfI, varOf, varOfQ, with, zero, zeros
-
-
-
-
Constructor Detail
-
TensoricTask
public TensoricTask(EnvironmentImpl<E> environment)
-
-