IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See:

Constructor

new ()

Creates a new IntMap.

Methods

get (key:Int):Null<T>

iterator ():Iterator<T>

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

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

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

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

toString ():String

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

toString ():String

Available on cs, java

Returns an displayable representation of the hashtable content.