I have one list:
List myList = new ArrayList();
To get from this list there are two methods:
1.
First one is more clear, but if you want to remove elements while visiting the list your only choice is an iterator.