question: public synchronized void addIfNew ( Task t ) { if ( ! tasks . contains ( t ) ) addInternal ( t ) ; }
target:  Add a new task if it is not equal to (using the equals method) to any existing active or pending task.