Class CompoundIterable<T>

  • Type Parameters:
    T - the type of iterable
    All Implemented Interfaces:
    Iterable<T>

    public class CompoundIterable<T>
    extends Object
    implements Iterable<T>
    Provides a method to iterate over several iterables of the same type as if the items were part of the same iterable.
    • Constructor Detail

      • CompoundIterable

        public CompoundIterable​(Iterable<? extends Iterable<T>> iterables)
        Creates a new compound iterable.
        Parameters:
        iterables - the iterables to use