|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--javamath.util.mathgui.Permutation
A private implementation of Permutation with various useful constructor and accessor methods.
| Constructor Summary | |
Permutation()
Construct the identity permutation. |
|
Permutation(java.util.Vector vec)
takes a permutation in cycle notation. |
|
| Method Summary | |
int[] |
toArray()
returns an array a such that the permutation maps i to a[i-1] |
java.lang.String |
toString()
a string representing the permutation in cycle notation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Permutation()
public Permutation(java.util.Vector vec)
| Method Detail |
public int[] toArray()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||