What\'s the best way to iterate over a list while processing 2 elements at the same time?
Example:
List strings = Arrays.asList(\"item
Now in Java 8, by using https://github.com/wapatesh/fig
You can write:
seq.forEachSlice(2, (values)->{ // [1,2] [3, 4] });