We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70a5bc3 commit fe07ee1Copy full SHA for fe07ee1
1 file changed
java-examples/java-core/src/test/java/com/hellokoding/java/collections/LinkedListTest.java
@@ -73,6 +73,7 @@ public void iterateWithIteratorAndListIterator() {
73
System.out.printf("%d ", iterator.next());
74
}
75
76
+ // Iterate backward with ListIterator
77
ListIterator<Integer> listIterator = linkedList.listIterator(linkedList.size());
78
while (listIterator.hasPrevious()){
79
System.out.printf("%d ", listIterator.previous());
0 commit comments