static class Cartesian.Product.ProductIterator<T>
extends com.google.common.collect.UnmodifiableIterator<T[]>
Modifier and Type | Field and Description |
---|---|
private int |
index |
private java.lang.Iterable<? extends T>[] |
iterables |
private java.util.Iterator<? extends T>[] |
iterators |
private T[] |
results |
Modifier | Constructor and Description |
---|---|
private |
ProductIterator(java.lang.Class<T> clazz,
java.lang.Iterable<? extends T>[] iterables) |
Modifier and Type | Method and Description |
---|---|
private void |
endOfData() |
boolean |
hasNext() |
T[] |
next() |
private int index
private final java.lang.Iterable<? extends T>[] iterables
private final java.util.Iterator<? extends T>[] iterators
private final T[] results
private void endOfData()
public boolean hasNext()
public T[] next()