Class CloseableIterationIterator<E>
- java.lang.Object
-
- org.eclipse.rdf4j.common.iterator.CloseableIterationIterator<E>
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<E>
public class CloseableIterationIterator<E> extends Object implements Iterator<E>, Closeable
Wraps aCloseableIterationas anIterator.- Author:
- Mark
-
-
Constructor Summary
Constructors Constructor Description CloseableIterationIterator(CloseableIteration<? extends E> iteration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Enext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CloseableIterationIterator
public CloseableIterationIterator(CloseableIteration<? extends E> iteration)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-