public class SetTools
extends java.lang.Object
| Constructor and Description |
|---|
SetTools() |
| Modifier and Type | Method and Description |
|---|---|
static <A> java.util.Set<java.util.Set<A>> |
cartesianProduct(java.util.Set<A>... sets)
Given a list of sets, this method returns the Cartesian product
of the given sets.
|
public static <A> java.util.Set<java.util.Set<A>> cartesianProduct(java.util.Set<A>... sets)
A - class of object contained in set.sets - sets of objects which Cartesian product must be determined.