haXe API Documentation
Back |
Indexclass IntIter
Available in flash8, neko, js, flash, php, cpp, cs, java
Integer iterator. Used for interval implementation.
- function new(min : Int, max : Int) : Void
- Iterate from
min
(inclusive) to max
(exclusive).
If max <= min
, the iterator will not act as a countdown. - function hasNext() : Bool
- Returns true if the iterator has other items, false otherwise.
- function next() : Int
- Moves to the next item of the iterator.
Back |
Index