question: public boolean remove ( MidiEvent event ) { synchronized ( eventsList ) { if ( set . remove ( event ) ) { int i = eventsList . indexOf ( event ) ; if ( i >= 0 ) { eventsList . remove ( i ) ; return true ; } } } return false ; }
target:  Removes the specified event from the track.