Package org.eclipse.rdf4j.query.algebra.evaluation.iterator

## Class CollectionIteration<E,​X extends Exception>

- java.lang.Object
- - org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,​X>
  - - org.eclipse.rdf4j.repository.sparql.federation.CollectionIteration<E,​X>
    - - org.eclipse.rdf4j.query.algebra.evaluation.iterator.CollectionIteration<E,​X>

- All Implemented Interfaces:
    `AutoCloseable`, `CloseableIteration<E,​X>`, `Iteration<E,​X>`

      @Deprecated
      public class CollectionIteration<E,​X extends Exception>
      extends CollectionIteration<E,​X>

  Deprecated.
  since 2.3 use `CollectionIteration`
  An iteration to access a materialized `Collection` of BindingSets.
  Author:
    Andreas Schwarte

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.rdf4j.repository.sparql.federation.CollectionIteration

      `collection, iterator`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CollectionIteration​(Collection<E> collection)` | Deprecated.

  - ### Method Summary

    - ### Methods inherited from class org.eclipse.rdf4j.repository.sparql.federation.CollectionIteration

      `hasNext, next, remove`

    - ### Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration

      `close, handleClose, isClosed`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.eclipse.rdf4j.common.iteration.Iteration

      `stream`

- - ### Constructor Detail

    - #### CollectionIteration

          public CollectionIteration​(Collection<E> collection)

      Deprecated.