Class CloseableIteratorIteration<E>
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
-
- org.eclipse.rdf4j.common.iteration.CloseableIteratorIteration<E>
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<E>
,CloseableIteration<E>
- Direct Known Subclasses:
GroupIterator
@Deprecated(since="4.1.0") public class CloseableIteratorIteration<E> extends AbstractCloseableIteration<E>
Deprecated.An Iteration that can convert anIterator
to aCloseableIteration
.
-
-
Constructor Summary
Constructors Constructor Description CloseableIteratorIteration()
Deprecated.Creates an uninitialized CloseableIteratorIteration, needs to be initialized by callingsetIterator(Iterator)
before it can be used.CloseableIteratorIteration(Iterator<? extends E> iter)
Deprecated.Creates a CloseableIteratorIteration that wraps the supplied iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
hasIterator()
Deprecated.boolean
hasNext()
Deprecated.E
next()
Deprecated.void
remove()
Deprecated.protected void
setIterator(Iterator<? extends E> iter)
Deprecated.-
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, handleClose, isClosed
-
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
-
-
-
-
Constructor Detail
-
CloseableIteratorIteration
public CloseableIteratorIteration()
Deprecated.Creates an uninitialized CloseableIteratorIteration, needs to be initialized by callingsetIterator(Iterator)
before it can be used.
-
-