Object function ( ) { if ( ! hasNext ( ) ) throw new NoSuchElementException ( ) ; previous = position ; if ( position == null ) position = first ; else position = position . next ; return position . data ; }
moves the iterator past the next element . concode_field_sep Node next concode_elem_sep int currentSize concode_elem_sep Object data concode_elem_sep Node previous concode_elem_sep Node position concode_elem_sep Node first concode_field_sep void add concode_elem_sep void set concode_elem_sep boolean hasNext concode_elem_sep void remove concode_elem_sep int size3 concode_elem_sep int size1 concode_elem_sep Object getFirst concode_elem_sep int size2 concode_elem_sep Object removeFirst concode_elem_sep void reverseFirstN concode_elem_sep ListIterator listIterator concode_elem_sep int sizeHelper concode_elem_sep void addFirst