
public class PairGeneratorMerge extends PairSortedGenerator
| Modifier and Type | Field and Description |
|---|---|
private PairSortedGeneratorInterface[] |
generators
Generators to merge
|
| Constructor and Description |
|---|
PairGeneratorMerge(PairSortedGeneratorInterface[] generators)
Set up merging generator.
|
| Modifier and Type | Method and Description |
|---|---|
protected IntIntPair |
advance()
Advance iterator and return next pair.
|
current, next, setCurrentprivate PairSortedGeneratorInterface[] generators
public PairGeneratorMerge(PairSortedGeneratorInterface[] generators)
generators - array of generators.protected IntIntPair advance()
advance in class PairSortedGenerator