# Package org.eclipse.rdf4j.common.iteration

- Interface Summary
  Interface | Description
  --- | ---
  CloseableIteration<E,X extends Exception> | An `Iteration` that can be closed to free resources that it is holding.
  Iteration<E,X extends Exception> | An Iteration is a typed Iterator-like object that can throw (typed) Exceptions while iterating.

- Class Summary
  Class | Description
  --- | ---
  AbstractCloseableIteration<E,X extends Exception> | Base class for `CloseableIteration`s offering common functionality.
  CloseableIterationBase<E,X extends Exception> | Deprecated since 2.0.
  CloseableIteratorIteration<E,X extends Exception> | An Iteration that can convert an `Iterator` to a `CloseableIteration`.
  ConvertingIteration<S,T,X extends Exception> | A CloseableIteration that converts an iteration over objects of type `S` (the source type) to an iteration over objects of type `T` (the target type).
  DelayedIteration<E,X extends Exception> | An iteration that delays the creation of the underlying iteration until it is being accessed.
  DistinctIteration<E,X extends Exception> | An Iteration that filters any duplicate elements from an underlying iterator.
  EmptyIteration<E,X extends Exception> | An iterator that does not contain any elements.
  ExceptionConvertingIteration<E,X extends Exception> | A CloseableIteration that converts an arbitrary iteration to an iteration with exceptions of type `X`.
  FilterIteration<E,X extends Exception> | A CloseableIteration that wraps another Iteration, applying a filter on the objects that are returned.
  IntersectIteration<E,X extends Exception> | An Iteration that returns the intersection of the results of two Iterations.
  Iterations | This class consists exclusively of static methods that operate on or return Iterations.
  IterationSpliterator<T> | A `Spliterator` implementation that wraps an `Iteration`.
  IterationWrapper<E,X extends Exception> | Abstract superclass for Iterations that wrap other Iterations.
  IteratorCloseableIteration<E,X extends Exception> | Deprecated since 3.0.
  IteratorIteration<E,X extends Exception> | An Iteration that can convert an `Iterator` to a `Iteration`.
  LimitIteration<E,X extends Exception> | An Iteration that limits the amount of elements that it returns from an underlying Iteration to a fixed amount.
  LookAheadIteration<E,X extends Exception> | An Iteration that looks one element ahead, if necessary, to handle calls to `LookAheadIteration.hasNext()`.
  MinusIteration<E,X extends Exception> | An Iteration that returns the results of an Iteration (the left argument) minus the results of another Iteration (the right argument).
  OffsetIteration<E,X extends Exception> | An Iteration that skips the first `offset` elements from an underlying Iteration.
  QueueIteration<E,T extends Exception> | Makes working with a queue easier by adding the methods `QueueIteration.done()` and `QueueIteration.toss(Exception)` and after converting the Exception to the required type using `QueueIteration.convert(Exception)`.
  ReducedIteration<E,X extends Exception> | Removes consecutive duplicates from the object stream.
  SilentIteration<T,E extends Exception> | An `IterationWrapper` that silently ignores any errors that occur during processing.
  SingletonIteration<E,X extends Exception> | An Iteration that contains exactly one element.
  TimeLimitIteration<E,X extends Exception> |
  UnionIteration<E,X extends Exception> | An Iteration that returns the bag union of the results of a number of Iterations.

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.