void function ( Object arg0 ) { if ( position == null ) { addFirst ( arg0 ) ; position = first ; } else { Node loc0 = new Node ( ) ; loc0 . data = arg0 ; loc0 . next = position . next ; position . next = loc0 ; position = loc0 ; } isAfterNext = false ; }
adds an element before the iterator position and moves the iterator past the inserted element . concode_field_sep Node next concode_elem_sep Node last concode_elem_sep Object data concode_elem_sep Node previous concode_elem_sep Node currentNode concode_elem_sep Node position concode_elem_sep int indexvar concode_elem_sep Node first concode_elem_sep boolean isAfterNext concode_field_sep Object next concode_elem_sep void addLast concode_elem_sep void set concode_elem_sep void set concode_elem_sep Object getFirst concode_elem_sep Object get concode_elem_sep Object removeFirst concode_elem_sep ListIterator listIterator concode_elem_sep boolean hasNext concode_elem_sep Node getNode concode_elem_sep void addFirst concode_elem_sep void remove