Class TensoricTask<E,​T>

  • Type Parameters:
    E - the type of the elements of the tensors
    T - 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 the run() method, which can use any of the tensoric field usage functionalities and has to return the final value. For convenience, this class already implements the Callable interface so that it can easily be used in concurrent environments.
    • Constructor Detail

    • Method Detail

      • run

        public abstract T run()
      • call

        public T call()
               throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<E>
        Throws:
        java.lang.Exception