Class UnionIteration<E,X extends Exception>

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

@Deprecated(since="4.1.0") public class UnionIteration<E,X extends Exception> extends LookAheadIteration<E,X>
Deprecated.
An Iteration that returns the bag union of the results of a number of Iterations. 'Bag union' means that the UnionIteration does not filter duplicate objects.
  • Constructor Details

    • UnionIteration

      @SafeVarargs public UnionIteration(Iteration<? extends E,X>... args)
      Deprecated.
      Creates a new UnionIteration that returns the bag union of the results of a number of Iterations.
      Parameters:
      args - The Iterations containing the elements to iterate over.
    • UnionIteration

      public UnionIteration(Iterable<? extends Iteration<? extends E,X>> args)
      Deprecated.
      Creates a new UnionIteration that returns the bag union of the results of a number of Iterations.
      Parameters:
      args - The Iterations containing the elements to iterate over.
  • Method Details