IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

@:keep@:keepnew()

Creates a new IntMap.

Methods

@:has_untyped@:keep@:keepclear():Void

@:keep@:keepcopy():IntMap<T>

@:has_untyped@:keep@:keepexists(key:Int):Bool

@:has_untyped@:keep@:keepget(key:Int):Null<T>

@:has_untyped@:keep@:keepiterator():Iterator<T>

See Map.iterator

(java) Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration.

@:keep@:keep@:runtimeinlinekeyValueIterator():KeyValueIterator<Int, T>

@:has_untyped@:keep@:keepkeys():Iterator<Int>

See Map.keys

(java) Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration.

@:has_untyped@:keep@:keepremove(key:Int):Bool

@:has_untyped@:keep@:keepset(key:Int, value:T):Void

@:has_untyped@:keep@:keeptoString():String