Modifier and Type | Field and Description |
---|---|
protected Iterator<Iterator<T>> |
baseIterators
This is the iterator of the merged iterators.
|
protected Iterator<T> |
current
This is the current iterator of the merged iterators.
|
Constructor and Description |
---|
IteratorMerger(Collection<Collection<T>> collectionOfCollections)
Constructs an iterator that iterates over all elements of the collections
contained in the collection.
|
IteratorMerger(Iterator<Iterator<T>> baseIterators)
constructs an iterator that will return the elements of the baseIterators
|
IteratorMerger(Iterator<T>... baseIterators)
constructs an iterator that will return the elements of the baseIterators
|
protected Iterator<Iterator<T>> baseIterators
public IteratorMerger(Iterator<Iterator<T>> baseIterators)
baseIterators
- public IteratorMerger(Iterator<T>... baseIterators)
baseIterators
- public IteratorMerger(Collection<Collection<T>> collectionOfCollections)
collectionOfCollections
- Copyright © 2014 The Apache Software Foundation. All Rights Reserved.