Package nl.vpro.util
Class SkippingIterator<T>
- java.lang.Object
-
- nl.vpro.util.SkippingIterator<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SkippingIterator.Builder<T>
-
Constructor Summary
Constructors Constructor Description SkippingIterator(Iterator<T> wrapped)
SkippingIterator(Iterator<T> wrapped, BiFunction<T,T,Boolean> comparator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> SkippingIterator.Builder<T>
builder()
protected void
findNext()
boolean
hasNext()
T
next()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
findNext
protected void findNext()
-
builder
public static <T> SkippingIterator.Builder<T> builder()
-
-