public class IndexIteratorIncreasing
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
dim |
|
protected int |
firstM |
|
protected int |
m |
|
protected int |
max |
|
protected int[] |
next |
|
protected int[] |
prev |
| Constructor | Description |
|---|---|
IndexIteratorIncreasing(int dim) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
|
int[] |
next() |
Returns the next index.
|
void |
reset() |
Resets the iterator.
|
void |
setMax(int newMax) |
Sets a new maximum for iteration.
|