E - the type of the elementspublic final class DropIterable<E>
extends java.lang.Object
implements java.lang.Iterable<E>
DropIterable drops first n elements before iterating elements.| Constructor and Description |
|---|
DropIterable(java.lang.Iterable<? extends E> iter,
int drop)
Creates a
DropIterable. |
public DropIterable(java.lang.Iterable<? extends E> iter, int drop)
DropIterable.iter - an Iterabledrop - number of elements to dropjava.lang.NullPointerException - if iter is nulljava.lang.IllegalArgumentException - if step is less than or equal to 0