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 an
Iterator
to a CloseableIteration
.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.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
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 Details
-
CloseableIteratorIteration
public CloseableIteratorIteration()Deprecated.Creates an uninitialized CloseableIteratorIteration, needs to be initialized by callingsetIterator(Iterator)
before it can be used. -
CloseableIteratorIteration
Deprecated.Creates a CloseableIteratorIteration that wraps the supplied iterator.
-
-
Method Details
-
setIterator
Deprecated. -
hasIterator
protected boolean hasIterator()Deprecated. -
hasNext
public boolean hasNext()Deprecated. -
next
Deprecated. -
remove
public void remove()Deprecated.
-