public final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess
CartesianList computes the cartesian product of n lists. It is adapted from and is *nearly* identical to one
Guava CartesianList which comes from a version from "the future" that we don't yet have, with the key difference that
it is not ImmutableList based, so it can hold null values to be compatible with the
evaluation and handling of cartesian products of expression arrays with null elements, e.g. ['a', 'b', null]modCount| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object o) |
static <E> List<List<E>> |
create(List<? extends List<? extends E>> lists) |
List<E> |
get(int index) |
int |
indexOf(Object o) |
int |
size() |
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.