public class CartesianProduct<T>
extends java.lang.Object
| Constructor and Description |
|---|
CartesianProduct(java.util.List<T> list1,
java.util.List<T> list2)
Class constructor specifying the two lists of a cartesian product.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<OrderedPair<T>> |
getOrderedPairs()
Generates the list of ordered pair between two sets.
|
public java.util.List<OrderedPair<T>> getOrderedPairs()