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
Not so elegant but work with iterators
Iterator rows = array.iterator(); if (rows.hasNext()){ rows.next(); } for (; rows.hasNext();) { XXXXX row = (XXXXX) rows.next(); }