java.lang.Object
com.github.basking2.sdsai.itrex.iterators.NullSkippingIterator<T>
- All Implemented Interfaces:
Iterator<T>
public class NullSkippingIterator<T>
extends Object
implements Iterator<T>
An iterator that pre-fetches the next value from the iterator it encloses so as to skip nulls.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NullSkippingIterator
public NullSkippingIterator(Iterator<T> iterator)
-