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 Constructor Description EmptyIteration()
Deprecated.Creates a new EmptyIteration.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.E
next()
Deprecated.void
remove()
Deprecated.Stream<E>
stream()
Deprecated.Convert the results to a Java 8 Stream.-
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
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Deprecated.
-
next
public E next()
Deprecated.
-
remove
public void remove()
Deprecated.
-
stream
public Stream<E> stream()
Deprecated.Description copied from interface:CloseableIteration
Convert the results to a Java 8 Stream.- Returns:
- stream
-
-