W3cubDocs

/Haxe

ArrayIterator<T>

package haxe.iterators

extended by ArrayDynIterator, ArrayObjIterator, BytesIterator

Available on all platforms

This iterator is used only when Array<T> is passed to Iterable<T>

Constructor

new(array:Array<T>)

Create a new ArrayIterator.

Methods

hasNext():Bool

See Iterator.hasNext

next():T

See Iterator.next

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/iterators/ArrayIterator.html