public class CountIterator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
countTo |
(package private) int |
cursor |
| Constructor and Description |
|---|
CountIterator(int countTo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |