public void remove(AbstractAutomaton a){
  int index=indexOf(a);
synchronized (automats) {
    automats.remove(a);
  }
  notify("Remove",null,Integer.valueOf(index));
}

public void remove ( AbstractAutomaton a ) { int index = indexOf ( a ) ; synchronized ( automats ) { automats . remove ( a ) ; } notify ( "Remove" , null , Integer . valueOf ( index ) ) ; }
just before exiting , an abstractautomaton instance uses this method to notify interested parties of it ' s departure .
