code: public boolean remove(Nexus nexus) throws NoSuchElementException, InterruptedException,
           IllegalArgumentException
     {
        if (nexus.getTaskTag() == -1) // invalid Q
           throw new IllegalArgumentException("must provide an I_T_L_Q nexus for abort");
  
        lock.lockInterruptibly();
        try
        {
           TaskContainer task = this.tasks.remove(nexus.getTaskTag());
           if (task == null)
              throw new NoSuchElementException("Task with tag " + nexus.getTaskTag()
                    + " not in task set");
  
           this.enabled.remove(task); // removes the task from the enabled queue if present
           this.dormant.remove(task); // removes the task from the dormant queue if present
           this.capacity++;
           this.notFull.signalAll();
           this.unblocked.signalAll();
  
           return task.abort();
        }
        finally
        {
           lock.unlock();
        }
     }
docs: /*
  @see TaskSet#remove(Nexus)