Class CollectionIteration<E>

java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
org.eclipse.rdf4j.repository.sparql.federation.CollectionIteration<E>
All Implemented Interfaces:
AutoCloseable, Iterator<E>, CloseableIteration<E>

public class CollectionIteration<E> extends AbstractCloseableIteration<E>
An iteration to access a materialized Collection of BindingSets.
Author:
Andreas Schwarte
  • Field Details

  • Constructor Details

    • CollectionIteration

      public CollectionIteration(Collection<E> collection)
      Parameters:
      collection -
  • Method Details

    • hasNext

      public boolean hasNext()
    • next

      public E next()
    • remove

      public void remove()