<s>[INST] sets the array that the arrayiterator should iterate over . if an array has previously been set using the single-arg constructor or this method then that array is discarded in favour of this one . iteration is restarted at the start of the new array . although this can be used to reset iteration , the #reset methodis a more effective choice . concode_field_sep int index concode_elem_sep int startIndex concode_elem_sep Object array concode_elem_sep int endIndex concode_field_sep Object next concode_elem_sep void checkBound concode_elem_sep Object getArray concode_elem_sep void reset concode_elem_sep boolean hasNext concode_elem_sep void remove [/INST] void function ( final Object arg0 ) { this . endIndex = Array . getLength ( arg0 ) ; this . startIndex = 0 ; this . array = arg0 ; this . index = 0 ; </s>