question: calculates and returns the next element which is either gap or dash . concode_field_sep float val concode_elem_sep boolean isGap concode_elem_sep float dashPhase concode_elem_sep int elemOrdinalNumber concode_elem_sep DashArrayElem currentElem concode_elem_sep PdfArray dashArray concode_elem_sep int currentIndex concode_field_sep boolean isSolid concode_elem_sep boolean isGap concode_elem_sep float getVal concode_elem_sep float getDashPhase concode_elem_sep boolean isEven concode_elem_sep void setGap concode_elem_sep PdfArray getDashArray concode_elem_sep void setDashArray concode_elem_sep void reset concode_elem_sep void setDashPhase concode_elem_sep void setVal concode_elem_sep void initFirst
target: DashArrayElem function ( ) { DashArrayElem loc0 = currentElem ; if ( dashArray . size ( ) > 0 ) { currentIndex = ( currentIndex + 1 ) % dashArray . size ( ) ; currentElem = new DashArrayElem ( dashArray . getAsNumber ( currentIndex ) . floatValue ( ) , isEven ( ++ elemOrdinalNumber ) ) ; } return loc0 ; }