public class CartesianProduct<T> extends AbstractCollection<List<T>>
| Constructor and Description |
|---|
CartesianProduct(List<? extends Iterable<? extends T>> collections) |
| Modifier and Type | Method and Description |
|---|---|
static <T> CartesianProduct<T> |
create(Iterable<? extends Iterable<? extends T>> iterables) |
static <T> CartesianProduct<T> |
create(Iterable<? extends T>... collections) |
static <T> CartesianProduct<T> |
create(List<? extends Iterable<? extends T>> collections) |
static <T> CartesianProduct<T> |
create(T[]... collections) |
Iterator<List<T>> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic static <T> CartesianProduct<T> create(List<? extends Iterable<? extends T>> collections)
public static <T> CartesianProduct<T> create(Iterable<? extends Iterable<? extends T>> iterables)
public static <T> CartesianProduct<T> create(T[]... collections)
public static <T> CartesianProduct<T> create(Iterable<? extends T>... collections)
public int size()
size in interface Collection<List<T>>size in class AbstractCollection<List<T>>Copyright © 2015. All rights reserved.