Class AbstractCloseableIteratorIteration<E>

java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteratorIteration<E>
All Implemented Interfaces:
AutoCloseable, Iterator<E>, CloseableIteration<E>
Direct Known Subclasses:
GroupIterator

public abstract class AbstractCloseableIteratorIteration<E> extends AbstractCloseableIteration<E>
An Iteration that can convert an Iterator to a CloseableIteration.
  • Constructor Details

    • AbstractCloseableIteratorIteration

      public AbstractCloseableIteratorIteration()
  • Method Details

    • getIterator

      protected abstract Iterator<? extends E> getIterator()
    • hasNext

      public boolean hasNext()
    • next

      public E next()
    • remove

      public void remove()