|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dtf.testframework.utils.Permutator
public class Permutator
Generates all possible permutations of an array of objects.
| Field Summary | |
|---|---|
protected java.lang.Object[] |
data
|
protected int |
size
|
protected int[] |
value
|
| Constructor Summary | |
|---|---|
Permutator(java.lang.Object[] objectList)
Constructs a permutator. |
|
| Method Summary | |
|---|---|
java.lang.Object[] |
get()
Retrieves the current permutation. |
boolean |
getNext()
Generates the next permutation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int size
protected java.lang.Object[] data
protected int[] value
| Constructor Detail |
|---|
public Permutator(java.lang.Object[] objectList)
objectList - The array of objects to create the permutations of| Method Detail |
|---|
public boolean getNext()
public java.lang.Object[] get()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||