Sequential Loops
Jump to navigation
Jump to search
For Each Loop
Many of the methods in this class are well served by using the for-each loop.
For Index Loop
The constructor should choose the for index loop to do its required array initialization.
While Loop With Iterator
Methods such as LinkedList remove should choose a while loop combined with iterator.remove()