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: DynamicMetadata
| Name | Parameters |
|---|---|
:headerClassCode |
"\n inline void set(int key, ::null value) { __int_hash_set(HX_MAP_THIS,key,value); }\n inline void set(int key, bool value) { __int_hash_set(HX_MAP_THIS,key,value); }\n inline void set(int key, char value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, unsigned char value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, signed char value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, short value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, unsigned short value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, int value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, unsigned int value) { __int_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(int key, float value) { __int_hash_set_float(HX_MAP_THIS,key,value); }\n inline void set(int key, double value) { __int_hash_set_float(HX_MAP_THIS,key,value); }\n inline void set(int key, ::String value) { __int_hash_set_string(HX_MAP_THIS,key,value); }\n inline void set(int key, cpp::Int64 value) { __int_hash_set_int64(HX_MAP_THIS,key,value); }\n\n template<typename V, typename H>\n inline void set(int key, const ::cpp::Struct<V,H> &value) {__int_hash_set(HX_MAP_THIS,key,value); }\n template |