If no insertion point is specified, elements are added to the end of the list. Remember that an ArrayList is backed by an actual array. The iterator works by stepping through the array. So elements are returned in the same order in which they are stored in the array.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database