Package org.aksw.commons.collections
Class CartesianProduct<T>
- All Implemented Interfaces:
Iterable<List<T>>,Collection<List<T>>
Created by IntelliJ IDEA.
User: raven
Date: 4/24/11
Time: 12:01 AM
To change this template use File | Settings | File Templates.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionCartesianProduct(boolean inPlace, List<? extends Iterable<? extends T>> collections) CartesianProduct(List<? extends Iterable<? extends T>> collections) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CartesianProduct<T>static <T> CartesianProduct<T>static <T> CartesianProduct<T>static <T> CartesianProduct<T>create(T[]... collections) iterator()intsize()Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
collections
-
inPlace
protected boolean inPlace
-
-
Constructor Details
-
CartesianProduct
-
CartesianProduct
-
-
Method Details
-
create
-
create
-
create
-
create
-
iterator
- Specified by:
iteratorin interfaceCollection<T>- Specified by:
iteratorin interfaceIterable<T>- Specified by:
iteratorin classAbstractCollection<List<T>>
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein classAbstractCollection<List<T>>
-