Class Parallel.TaskList

  • All Implemented Interfaces:
    TaskContainer
    Enclosing class:
    Parallel

    public static class Parallel.TaskList
    extends java.lang.Object
    implements TaskContainer
    Class which holds a list of tasks to execute
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskList()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addTask​(Task nestedTask)
      Add a nested task to execute in parallel (asynchronously).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskList

        public TaskList()
    • Method Detail

      • addTask

        public void addTask​(Task nestedTask)
        Add a nested task to execute in parallel (asynchronously).

        Specified by:
        addTask in interface TaskContainer
        Parameters:
        nestedTask - Nested task to be executed in parallel. must not be null.