Payload - The payload type.public final class CombinedIterable<Payload> extends Object implements Iterable<Payload>
CombinedIterable is an Iterable that wraps around some
given Iterables and combines them into a single
Iterable by iterating over all given Iterables in
the order they were given.| Constructor and Description |
|---|
CombinedIterable(Iterable<? extends Iterable<? extends Payload>> iterable)
Creates a new
CombinedIterable. |
CombinedIterable(Iterable<? extends Payload>... iterables)
Creates a new
CombinedIterable. |
| Modifier and Type | Method and Description |
|---|---|
CombinedIterator<Payload> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CombinedIterable(Iterable<? extends Payload>... iterables)
CombinedIterable.iterables - The sequence of Iterables to iterate over.IllegalArgumentException - If the given sequence of Iterables is
null.public CombinedIterable(Iterable<? extends Iterable<? extends Payload>> iterable) throws IllegalArgumentException
CombinedIterable.iterable - The Iterable of Iterables to iterate over.IllegalArgumentException - If the given Iterable of Iterables
is null.public CombinedIterator<Payload> iterator()
Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.