Constructor and Description |
---|
TupleIterator(Iterable[] tuple,
T... possibleContainer)
Construct a new instance, will use the possible container to hold
return values, if it has the correct size.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T[] |
next()
Returns the next tuple in the iterator.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public TupleIterator(Iterable[] tuple, T... possibleContainer)
tuple
- tuple of collections for which we will iterate over the Cartesian product.possibleContainer
- Array to indicate type of return value and possibly store returns.Copyright © 2017. All rights reserved.