IntMap allows mapping of Int keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

new()

Creates a new IntMap.

Methods

get(key:Int):Null<T>

iterator():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.

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.

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