Class CollectionIteration<E>

  • All Implemented Interfaces:
    AutoCloseable, Iterator<E>, org.eclipse.rdf4j.common.iteration.CloseableIteration<E>

    public class CollectionIteration<E>
    extends org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
    An iteration to access a materialized Collection of BindingSets.
    Author:
    Andreas Schwarte
    • Constructor Detail

      • CollectionIteration

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

      • hasNext

        public boolean hasNext()
      • next

        public E next()
      • remove

        public void remove()
      • handleClose

        protected void handleClose()
        Specified by:
        handleClose in class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>