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 Details

    • CloseableIteratorIteration

      public CloseableIteratorIteration()
      Deprecated.
      Creates an uninitialized CloseableIteratorIteration, needs to be initialized by calling setIterator(Iterator) before it can be used.
    • CloseableIteratorIteration

      public CloseableIteratorIteration(Iterator<? extends E> iter)
      Deprecated.
      Creates a CloseableIteratorIteration that wraps the supplied iterator.
  • Method Details

    • setIterator

      protected void setIterator(Iterator<? extends E> iter)
      Deprecated.
    • hasIterator

      protected boolean hasIterator()
      Deprecated.
    • hasNext

      public boolean hasNext()
      Deprecated.
    • next

      public E next()
      Deprecated.
    • remove

      public void remove()
      Deprecated.