IntIterator

class IntIteratorAvailable in flash8, flash, neko, js, php, cpp, cs, javaIntIterator is used for implementing interval iterations.
It is usually not used explicitly, but through it's special syntax: min...max
While it is possible to assign an instance of IntIterator to a variable or field, it is worth noting that IntIterator does not reset after being used in a for-loop. Subsequent uses of the same instance will then have no effect.
function new( min : Int, max : Int ) : VoidIterates from min (inclusive) to max (exclusive).
If max <= min, the iterator will not act as a countdown.
function hasNext() : Bool function next() : Int
version #17652, modified 2013-02-25 00:00:19 by api
0 comment