Class EmptyIteration<E>
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
org.eclipse.rdf4j.common.iteration.EmptyIteration<E>
- All Implemented Interfaces:
AutoCloseable
,Iterator<E>
,CloseableIteration<E>
@Deprecated(since="4.1.0")
public final class EmptyIteration<E>
extends AbstractCloseableIteration<E>
Deprecated.
An iterator that does not contain any elements.
-
Constructor Summary
Constructors -
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 java.util.Iterator
forEachRemaining
-
Constructor Details
-
EmptyIteration
public EmptyIteration()Deprecated.Creates a new EmptyIteration.
-
-
Method Details
-
hasNext
public boolean hasNext()Deprecated. -
next
Deprecated. -
remove
public void remove()Deprecated. -
stream
Deprecated.Description copied from interface:CloseableIteration
Convert the results to a Java 8 Stream.- Returns:
- stream
-