question: same like next , but returns the end-of-text as if there was a linebreak added reader.readline compatible concode_field_sep char[] text concode_elem_sep int position concode_elem_sep int DONE concode_field_sep Object next concode_elem_sep String getText concode_elem_sep int nextPosition concode_elem_sep boolean hasNext concode_elem_sep void remove concode_elem_sep void setText
target: int function ( ) { final int loc0 = this . position ; if ( loc0 == DONE ) { return DONE ; } if ( loc0 == this . text . length ) { this . position = DONE ; return DONE ; } final int loc1 = nextPosition ( ) ; if ( loc1 == DONE ) { return this . text . length ; } return loc1 ; }