Package nl.vpro.util
Class SkippingIterator.Builder<T>
- java.lang.Object
-
- nl.vpro.util.SkippingIterator.Builder<T>
-
- Enclosing class:
- SkippingIterator<T>
public static class SkippingIterator.Builder<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkippingIterator<T>
build()
SkippingIterator.Builder<T>
comparator(BiFunction<T,T,Boolean> comparator)
String
toString()
SkippingIterator.Builder<T>
wrapped(Iterator<T> wrapped)
-
-
-
Method Detail
-
wrapped
public SkippingIterator.Builder<T> wrapped(Iterator<T> wrapped)
- Returns:
this
.
-
comparator
public SkippingIterator.Builder<T> comparator(BiFunction<T,T,Boolean> comparator)
- Returns:
this
.
-
build
public SkippingIterator<T> build()
-
-