NativeIterator

NativeIterator<T>(Void ‑> T)

package lua

Available on lua

This abstract enables easy conversion from basic lua iterators (i.e., a function that is called until it returns null), and Haxe iterators, which provide a next/hasNext interface.

Constructor

new (f:Void ‑> T )

Methods

toIterator ():Iterator<T>

Static methods

static fromF<T> (f:Void ‑> T ):NativeIterator<T>

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/lua/NativeIterator.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部