IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

new()

Creates a new IntMap.

Methods

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

get(key:Int):Null<T>

keys():Iterator<Int>

See Map.keys

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

@:has_untypediterator():Iterator<T>

See Map.iterator

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