repositions this iterator to the position at the time the mark method was last called . if the mark method has not been called since the iterator was created , or the number of objects read from the iterator since mark was last called is larger than the argument to mark at that last call , then an illegalstateexception will be thrown . otherwise , the iterator is reset to a state such that all the objects read since the most recent call to mark will be resupplied to subsequent callers of the next method , followed by any objects that otherwise would have been the next input data as of the time of the call to reset . concode_field_sep Iterator<T> emptyIterator concode_elem_sep State state concode_elem_sep int readLimit concode_elem_sep Iterator<T> backingIterator concode_elem_sep Iterator<T> replayIterator concode_elem_sep List<T> replayBuffer concode_field_sep T next concode_elem_sep boolean hasNext concode_elem_sep void remove concode_elem_sep void mark concode_elem_sep List<T> populateFromIterator
void function ( ) { if ( state == State . READ ) { throw new IllegalStateException ( "srini_string" ) ; } replayIterator = replayBuffer . iterator ( ) ; state = State . REPLAY ; }