IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See:

Constructor

new ()

Creates a new IntMap.

Methods

@:has_untypedexists (key:Int):Bool

@:has_untypedget (key:Int):Null<T>

iterator ():Iterator<T>

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

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 flash, lua, python, neko, macro, cpp, js, hl, php

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

@:has_untypedremove (key:Int):Bool

@:has_untypedset (key:Int, value:T):Void

toString ():String

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

toString ():String

Available on cs, java

Returns an displayable representation of the hashtable content.