Is there an elegant way to skip the first iteration in a Java5 foreach loop ?
Example pseudo-code:
for ( Car car : cars ) { //skip if first, do w
Use Guava Iterables.skip().
Something like:
for ( Car car : Iterables.skip(cars, 1) ) { // 1st element will be skipped }
(Got this from the end of msandiford's answer and wanted to make it a standalone answer)