returns the next element in the iteration . calling this method repeatedly until the hasnext method returns false will return each element in the underlying collection exactly once . concode_field_sep Iterator<E> currentTree concode_elem_sep E col concode_elem_sep Collection<E> subtree concode_elem_sep Iterator<E> currentElement concode_elem_sep Iterator unused concode_elem_sep Iterator usedSelf concode_field_sep Iterator<E> iterator concode_elem_sep boolean hasNext concode_elem_sep boolean anyMoreElements concode_elem_sep void remove
E function ( ) { E loc0 = null ; if ( currentElement == unused ) { loc0 = col ; currentElement = usedSelf ; anyMoreElements ( ) ; } else { if ( ! currentElement . hasNext ( ) ) { anyMoreElements ( ) ; } loc0 = currentElement . next ( ) ; } return loc0 ; }