Package mondrian.util
Class CartesianProductList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<List<T>>
-
- mondrian.util.CartesianProductList<T>
-
- All Implemented Interfaces:
Iterable<List<T>>
,Collection<List<T>>
,List<List<T>>
,RandomAccess
public class CartesianProductList<T> extends AbstractList<List<T>> implements RandomAccess
List that generates the cartesian product of its component lists.- Author:
- jhyde
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description CartesianProductList(List<List<T>> lists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
get(int index)
void
getIntoArray(int index, Object[] a)
Iterator<List<T>>
iterator()
int
size()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-