<p>This method uses an integer based for loop to iterator over a java.util.List, by calling
List.get(i) each time thru the loop. The integer is not used for other reasons. It is better
to use an Iterator instead, as depending on List implementation, iterators can perform better, 
and they also allow for exchanging of other collection types without issue.</p>