boolean function ( MidiEvent arg0 ) { synchronized ( events ) { if ( eventSet . contains ( arg0 ) ) return false ; eventSet . add ( arg0 ) ; long loc0 = arg0 . getTick ( ) ; int loc1 = events . size ( ) - 1 ; while ( loc1 >= 0 && ( events . get ( loc1 ) . getTick ( ) > loc0 ) ) loc1 -- ; events . add ( loc1 + 1 , arg0 ) ; return true ; } }
add a new event to this track . specific events may only be added once . the event will be inserted into the appropriate spot in the event list based on its timecode . concode_field_sep HashSet<MidiEvent> eventSet concode_elem_sep Vector<MidiEvent> events concode_field_sep int size concode_elem_sep long ticks concode_elem_sep MidiEvent get concode_elem_sep boolean remove