Class IteratorIteration<E>
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.IteratorIteration<E>
-
- All Implemented Interfaces:
AutoCloseable,Iterator<E>,CloseableIteration<E>
@Deprecated(since="4.1.0") public class IteratorIteration<E> extends Object implements CloseableIteration<E>
Deprecated.An Iteration that can convert anIteratorto aCloseableIteration.
-
-
Constructor Summary
Constructors Constructor Description IteratorIteration(Iterator<? extends E> iter)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.Closes this iteration, freeing any resources that it is holding.booleanhasNext()Deprecated.Enext()Deprecated.voidremove()Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
close
public void close()
Deprecated.Description copied from interface:CloseableIterationCloses this iteration, freeing any resources that it is holding. If the iteration has already been closed then invoking this method has no effect.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableIteration<E>
-
-