Class CartesianProductIterator<T>
java.lang.Object
org.aksw.commons.collections.CartesianProductIterator<T>
- Type Parameters:
T-
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCartesianProductIterator(boolean inPlace, Iterable<? extends T>... iterables) CartesianProductIterator(boolean inPlace, Collection<? extends Iterable<? extends T>> collections) CartesianProductIterator(Iterable<? extends T>... iterables) CartesianProductIterator(Collection<? extends Iterable<? extends T>> collections) / for (T[] item : collections) / tmp.add(Arrays.asList(item)); / / this.collections = tmp; -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
iterables
-
iterators
-
current
-
result
-
resultView
-
inPlace
protected boolean inPlace -
hasNext
protected boolean hasNext -
l
protected final int l -
lMinusOne
protected final int lMinusOne -
copyOffset
protected int copyOffset
-
-
Constructor Details
-
CartesianProductIterator
/ for (T[] item : collections) / tmp.add(Arrays.asList(item)); / / this.collections = tmp; -
CartesianProductIterator
public CartesianProductIterator(boolean inPlace, Collection<? extends Iterable<? extends T>> collections) -
CartesianProductIterator
-
CartesianProductIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-