hi,

Just wonder what's the benefit of having a TaskQueue class but not simply
use Queue<T extends Task> for the task queue?

If there is really sth unique in the Driods queue implementation, and the
Driods TaskQueue could implement Queue<T extends Task> and
TaskMaster.processAllTasks(TaskQueue<T> queue, Droid<T> droid)  could be
changed to

   - TaskMaster.processAllTasks( Queue<T extends Task>, Droid<T> droid), or
   - TaskMaster.processAllTasks( Collection<T extends Task>, Droid<T> droid)


What do you think?

regards,
mingfai

Reply via email to