public synchronized void addIfNew(Task t){
  if (!tasks.contains(t))   addInternal(t);
}

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