class PermGen
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int[] |
m_d |
(package private) int[] |
m_l |
(package private) int[] |
m_p |
(package private) int |
m_size |
(package private) int[] |
m_t |
| Constructor and Description |
|---|
PermGen(int size) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCurrent()
get the current permutation
|
int |
getNext()
generates the next permutation.
|
static void |
main(java.lang.String[] args)
Unit test for PermGen.
|
public int getNext()
public int[] getCurrent()
public static void main(java.lang.String[] args)