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
With new Java 8 Stream API it actually becomes very elegant. Just use skip() method:
skip()
cars.stream().skip(1) // and then operations on remaining cars