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 Details

    • EmptyIteration

      public EmptyIteration()
      Deprecated.
      Creates a new EmptyIteration.
  • Method Details

    • 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