public class CombiningIterable<T> extends Object implements Iterable<T>
Iterable
s.
The concurrent modification behavior of the iterators produced by this class is undefined. You should not rely on being able to modify a collection prior to its place in the sequence of iterators.
Removal via the produced iterators is dependent on the underlying collection's
iterator. It is possible to mix collections that support removal with those
that do not; the combined iterator will throw for part of the iteration, and
not throw for another part. It's best not to use remove()
unless
you know that all underlying collections support it.
Modifier and Type | Class and Description |
---|---|
static class |
CombiningIterable.CombiningIterator<E>
Combines a list of iterators into a single iterator.
|
Constructor and Description |
---|
CombiningIterable(Iterable<T>... iterables) |
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator