question: remove an event from the queue . if this is the frontmost event , then the next event is scheduled . concode_field_sep PriorityQueue<BasicEvent> eventQueue concode_elem_sep boolean active concode_elem_sep int count concode_elem_sep List<SchedulerListener> listenerList concode_elem_sep Timer eventTimer concode_elem_sep BasicEvent nextEvent concode_elem_sep boolean DEBUG concode_elem_sep int id concode_field_sep BasicEvent getEvent concode_elem_sep void addEvent concode_elem_sep void debug concode_elem_sep void stop concode_elem_sep int size concode_elem_sep void fireEventListChanged concode_elem_sep void scheduleNext concode_elem_sep void start concode_elem_sep void clear concode_elem_sep void rescheduleEvent concode_elem_sep BasicEvent getNextEvent concode_elem_sep void addListener
target: boolean function ( BasicEvent arg0 ) { debug ( "srini_string" + arg0 ) ; boolean loc0 = eventQueue . remove ( arg0 ) ; if ( arg0 . equals ( nextEvent ) ) { nextEvent = eventQueue . peek ( ) ; scheduleNext ( ) ; } return loc0 ; }