E - the type of the elementspublic final class DropWhileIterable<E>
extends java.lang.Object
implements java.lang.Iterable<E>
DropWhileIterable drops elements until the returned value of the
block is false before iterating elements.| Constructor and Description |
|---|
DropWhileIterable(java.lang.Iterable<? extends E> iter,
BooleanBlock<? super E> block)
Creates a
DropWhileIterable. |
public DropWhileIterable(java.lang.Iterable<? extends E> iter, BooleanBlock<? super E> block)
DropWhileIterable.iter - an Iterableblock - to check elementsjava.lang.NullPointerException - if iter or block is null