public final void remove(Action actionToRemove){
  int index;
  for (  Action action : actionList) {
    if (action.equals(actionToRemove)) {
      index=actionList.indexOf(action);
      actionList.remove(action);
      constraintsList.remove(index);
      needSorting=true;
      return;
    }
  }
}

public final void remove ( Action actionToRemove ) { int index ; for ( Action action : actionList ) { if ( action . equals ( actionToRemove ) ) { index = actionList . indexOf ( action ) ; actionList . remove ( action ) ; constraintsList . remove ( index ) ; needSorting = true ; return ; } } }
removes specified action from group .
