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>

@:ifFeature("dynamic_read.iterator","anon_optional_read.iterator","anon_read.iterator")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.

@:ifFeature("dynamic_read.keyValueIterator","anon_optional_read.keyValueIterator","anon_read.keyValueIterator")inlinekeyValueIterator():KeyValueIterator<Int, 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.

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