|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.util.Permutation
public class Permutation
| Constructor Summary | |
|---|---|
Permutation(java.lang.Object[] items)
|
|
| Method Summary | |
|---|---|
java.util.Iterator |
generate()
Create list of arrays of items, in all possible permutations (that's n! permutations). |
java.util.Iterator |
generate(int size)
Create list of arrays of items, in all possible permutations (that's n! permutations). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Permutation(java.lang.Object[] items)
| Method Detail |
|---|
public java.util.Iterator generate()
public java.util.Iterator generate(int size)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||