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(): IteratorSee 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(): IteratorSee 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(): KeyValueIteratorSee Map.keyValueIterator
| Returns |
|---|
| KeyValueIterator |
copy(): IntMap<haxe.ds.IntMap.T>See Map.copy
| Returns |
|---|
| IntMap<haxe.ds.IntMap.T> |
clear(): VoidSee Map.clear
new(): VoidCreates a new IntMap.
Private Members
h: Dynamic