ds.IntMap
IntMap<T>
package haxe-ds
Available on all platformsIntMap 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