E - the type of the elementspublic final class FindAllIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
FindAllIterator iterates elements which are true returned by the
block.| Constructor and Description |
|---|
FindAllIterator(java.util.Iterator<? extends E> iter,
BooleanBlock<? super E> block)
Creates a
FindAllIterator. |
public FindAllIterator(java.util.Iterator<? extends E> iter, BooleanBlock<? super E> block)
FindAllIterator.iter - an Iteratorblock - to check elementsjava.lang.NullPointerException - if iter or block is null