| Modifier and Type | Field and Description |
|---|---|
protected int |
copyOffset |
protected T[] |
current |
protected boolean |
hasNext |
protected boolean |
inPlace |
protected Iterable<? extends T>[] |
iterables
The array of iterables which service as suppliers of iterators
|
protected Iterator<? extends T>[] |
iterators
The current array of iterators
|
protected int |
l |
protected int |
lMinusOne |
protected T[] |
result |
protected List<T> |
resultView |
| Constructor and Description |
|---|
CartesianProductIterator(boolean inPlace,
Collection<? extends Iterable<? extends T>> collections) |
CartesianProductIterator(boolean inPlace,
Iterable<? extends T>... iterables) |
CartesianProductIterator(Collection<? extends Iterable<? extends T>> collections) |
CartesianProductIterator(Iterable<? extends T>... iterables) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
List<T> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected Iterable<? extends T>[] iterables
protected T[] current
protected T[] result
protected boolean inPlace
protected boolean hasNext
protected final int l
protected final int lMinusOne
protected int copyOffset
public CartesianProductIterator(Collection<? extends Iterable<? extends T>> collections)
public CartesianProductIterator(boolean inPlace,
Collection<? extends Iterable<? extends T>> collections)
Copyright © 2018. All rights reserved.