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 anIterator
to 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 void
close()
Deprecated.Closes this iteration, freeing any resources that it is holding.boolean
hasNext()
Deprecated.E
next()
Deprecated.void
remove()
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:CloseableIteration
Closes 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseableIteration<E>
-
-