IntMap
haxe.ds.IntMap (Class)
Implements: haxe.IMap
IntMap allows mapping of Int keys to arbitrary values.
See Map
for documentation details.
See: https://haxe.org/manual/std-Map.html
Instance Members
See Map.set
Name | Type |
---|---|
key |
Int |
value |
haxe.ds.IntMap.T |
See Map.get
Name | Type |
---|---|
key |
Int |
Returns |
---|
Null<haxe.ds.IntMap.T> |
See Map.exists
Name | Type |
---|---|
key |
Int |
Returns |
---|
Bool |
See Map.remove
Name | Type |
---|---|
key |
Int |
Returns |
---|
Bool |
keys(): Iterator
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.
Returns |
---|
Iterator |
iterator(): Iterator
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.
Returns |
---|
Iterator |
keyValueIterator(): KeyValueIterator
See Map.keyValueIterator
Returns |
---|
KeyValueIterator |
copy(): IntMap<haxe.ds.IntMap.T>
See Map.copy
Returns |
---|
IntMap<haxe.ds.IntMap.T> |
clear(): Void
See Map.clear
new(): Void
Creates a new IntMap.
Private Members
h: Dynamic