public class BaseNIterator extends Object implements Iterator<int[]>, Serializable
An iterator that enumerates the base N representation of every non-negative integer that can be represented within the specified number of digits.
Modifier and Type | Field and Description |
---|---|
protected int |
base |
protected int |
currentNumber |
protected int |
maximumNumber |
protected int |
numDigits |
Constructor and Description |
---|
BaseNIterator(int base,
int numDigits) |
Copyright © 2014. All rights reserved.