With new Java 8 Stream API it actually becomes very elegant. Just use skip() method:
cars.stream().skip(1) // and then operations on remaining cars
With new Java 8 Stream API it actually becomes very elegant. Just use skip() method:
cars.stream().skip(1) // and then operations on remaining cars