question: public void run ( ) { allowToChange = false ; synchronized ( actions ) { if ( ! actions . isEmpty ( ) ) { for ( Iterator iter = actions . iterator ( ) ; iter . hasNext ( ) ; ) { doGroupAction ( iter . next ( ) ) ; if ( removeElementAfterAction ) { iter . remove ( ) ; } } } } reset ( ) ; }
target:  Implements for TaskRunnable. Run the function of ScheduleableGroupAction on all the objects 1 by 1.