ds.IntMap

IntMap<T>

package haxe-ds

implements IMap<Int, T>

Available on all platforms

IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See:

Constructor

new ()

Creates a new IntMap.

Methods

exists (key:Int):Bool

See Map.exists

get (key:Int):Null<T>

See Map.get

iterator ():Iterator<T>

Available on cpp, flash, hl, js, lua, macro, neko, php, python

See Map.iterator

iterator ():Iterator<T>

Available on cs, java

Returns an iterator of all values in the hashtable. Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration

keys ():Iterator<Int>

Available on cpp, flash, hl, js, lua, macro, neko, php, python

See Map.keys

keys ():Iterator<Int>

Available on cs, java

Returns an iterator of all keys in the hashtable. Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration

remove (key:Int):Bool

See Map.remove

set (key:Int, value:T ):Void

See Map.set

toString ():String

Available on cpp, flash, hl, js, lua, macro, neko, php, python

See Map.toString

toString ():String

Available on cs, java

Returns an displayable representation of the hashtable content.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部