T - the type of items in the iterable.public class ChainedIterable<T> extends Object implements CloseableIterable<T>
ChainedIterable is an iterable composed of other Iterables.
As a client iterates through this iterable, the child iterables are consumed
sequentially.| Constructor and Description |
|---|
ChainedIterable(Iterable... itrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CloseableIterator<T> |
iterator() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ChainedIterable(Iterable... itrs)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface CloseableIterable<T>public CloseableIterator<T> iterator()
Copyright © 2022. All rights reserved.