public class PermutationIterator
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected int[] |
indices |
|
protected int |
maxIndex |
|
protected int[] |
nEachIndices |
|
protected int[] |
nEachIndicesCheck |
|
protected int |
nIndices |
|
protected int[] |
rIndices |
Constructor | Description |
---|---|
PermutationIterator(int[] indices) |
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] args) |
|
int[] |
next() |
|
void |
reset() |