computes the index of the frame containing the measure with the given global index . if not found , -1 is returned . concode_field_sep Score score concode_elem_sep List<ScoreFrameLayout> frames concode_elem_sep LayoutSettings layoutSettings concode_elem_sep SymbolPool symbolPool concode_field_sep MP getMP concode_elem_sep void updateSelections concode_elem_sep int getSystemIndexOf concode_elem_sep ScoreFrameLayout getScoreFrameLayout concode_elem_sep ScoreLayout createErrorLayout concode_elem_sep StaffStampingPosition getStaffStampingPosition concode_elem_sep ScoreLP getScoreLP
int function ( int arg0 ) { for ( int loc0 : range ( frames ) ) { FrameArrangement loc1 = frames . get ( loc0 ) . getFrameArrangement ( ) ; if ( loc1 . getStartMeasureIndex ( ) <= arg0 && loc1 . getEndMeasureIndex ( ) >= arg0 ) return loc0 ; } return - 1 ; }