1: // Version 4.0 2: myList.resetTraversal(); 3: while (myList.hasNext()) 4: System.out.println(myList.next());