public Note [ ] getNotesBeginningTie ( ) { Vector notesBT = new Vector ( m_notes . size ( ) ) ; for ( int i = 0 ; i < m_notes . size ( ) ; i ++ ) if ( ( ( Note ) m_notes . elementAt ( i ) ) . isBeginningTie ( ) ) notesBT . addElement ( m_notes . elementAt ( i ) ) ; if ( notesBT . size ( ) > 0 ) { Note [ ] notesBTasArray = new Note [ notesBT . size ( ) ] ; notesBT . toArray ( notesBTasArray ) ; return notesBTasArray ; } else return null ; }
Returns the notes from this multinote that begin a tie .