Iterable<E> skip(int count)

Returns an Iterable that provides all but the first count elements.

When the returned iterable is iterated, it starts iterating over this, first skipping past the initial count elements. If this has fewer than count elements, then the resulting Iterable is empty. After that, the remaining elements are iterated in the same order as in this iterable.

The count must not be negative.


Iterable<E> skip(int count) {
  return new SkipIterable<E>(this, count);