frysk.testbed
Class TaskSet

java.lang.Object
  extended by frysk.testbed.TaskSet

public class TaskSet
extends Object

A Task set. In addition to the standard set methods, provides additional methods for bulk unblocking all set members.


Constructor Summary
TaskSet()
           
 
Method Summary
 TaskSet add(Task task)
          Add the Task to the Set of Task's.
 TaskSet clear()
          Clear the Task Set.
 int size()
          Return the number of Task's currently in the Task Set.
 Task[] toArray()
          Return the task set as an array.
 String toString()
           
 TaskSet unblock(TaskObserver observer)
          Unblock all members of the Task Set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskSet

public TaskSet()
Method Detail

toArray

public Task[] toArray()
Return the task set as an array.


add

public TaskSet add(Task task)
Add the Task to the Set of Task's.


clear

public TaskSet clear()
Clear the Task Set.


size

public int size()
Return the number of Task's currently in the Task Set.


unblock

public TaskSet unblock(TaskObserver observer)
Unblock all members of the Task Set.


toString

public String toString()
Overrides:
toString in class Object