IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

new()

Creates a new IntMap.

Methods

@:has_untypedexists(key:Int):Bool

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

@:has_untypediterator():Iterator<T>

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

iterator():Iterator<T>

Available on java, cs

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

@:has_untypedkeys():Iterator<Int>

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

keys():Iterator<Int>

Available on java, cs

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

@:has_untypedtoString():String

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

toString():String

Available on java, cs

Returns an displayable representation of the hashtable content.