Package nbbrd.io
Class AbstractIOIterator<E>
- java.lang.Object
-
- nbbrd.io.AbstractIOIterator<E>
-
- Type Parameters:
E-
- All Implemented Interfaces:
IOIterator<E>
public abstract class AbstractIOIterator<E> extends Object implements IOIterator<E>
- Author:
- Philippe Charles
-
-
Constructor Summary
Constructors Constructor Description AbstractIOIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @Nullable Eget()booleanhasNextWithIO()protected abstract booleanmoveNext()EnextWithIO()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nbbrd.io.IOIterator
asStream, asUnchecked, forEachRemainingWithIO, removeWithIO
-
-
-
-
Method Detail
-
get
protected abstract @Nullable E get() throws IOException
- Throws:
IOException
-
moveNext
protected abstract boolean moveNext() throws IOException- Throws:
IOException
-
hasNextWithIO
public boolean hasNextWithIO() throws IOException- Specified by:
hasNextWithIOin interfaceIOIterator<E>- Throws:
IOException
-
nextWithIO
public E nextWithIO() throws IOException
- Specified by:
nextWithIOin interfaceIOIterator<E>- Throws:
IOException
-
-