Package nl.vpro.util
Class TransformingIterator<T,W>
- java.lang.Object
-
- nl.vpro.util.TransformingIterator<T,W>
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<T>
,CloseableIterator<T>
public class TransformingIterator<T,W> extends Object implements CloseableIterator<T>
- Since:
- 2.9
- Author:
- Michiel Meeuwissen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformingIterator.Builder<T,W>
-
Nested classes/interfaces inherited from interface nl.vpro.util.CloseableIterator
CloseableIterator.WrappedCloseableIterator<S>, CloseableIterator.WrappedPeekingCloseableIterator<S>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T,W>
TransformingIterator.Builder<T,W>builder()
void
close()
boolean
hasNext()
T
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.vpro.util.CloseableIterator
peeking, stream
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
builder
public static <T,W> TransformingIterator.Builder<T,W> builder()
-
-