StringMap
haxe.ds.StringMap (Class)
Implements: haxe.IMap
StringMap allows mapping of String 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 |
String |
value |
haxe.ds.StringMap.T |
See Map.get
Name | Type |
---|---|
key |
String |
Returns |
---|
Null<haxe.ds.StringMap.T> |
See Map.exists
Name | Type |
---|---|
key |
String |
Returns |
---|
Bool |
See Map.remove
Name | Type |
---|---|
key |
String |
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 |
clear(): Void
See Map.clear
new(): Void
Creates a new StringMap.
Private Members
h: Dynamic
Metadata
Name | Parameters |
---|---|
:headerClassCode |
"\n inline void set(String key, ::null value) { __string_hash_set(HX_MAP_THIS,key,value); }\n inline void set(String key, bool value) { __string_hash_set(HX_MAP_THIS,key,value); }\n inline void set(String key, char value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, unsigned char value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, signed char value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, short value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, unsigned short value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, int value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, unsigned int value) { __string_hash_set_int(HX_MAP_THIS,key,value); }\n inline void set(String key, float value) { __string_hash_set_float(HX_MAP_THIS,key,value); }\n inline void set(String key, double value) { __string_hash_set_float(HX_MAP_THIS,key,value); }\n inline void set(String key, ::String value) { __string_hash_set_string(HX_MAP_THIS,key,value); }\n inline void set(String key, cpp::Int64 value) { __string_hash_set_int64(HX_MAP_THIS,key,value); }\n\n template<typename V, typename H>\n inline void set(String key, const ::cpp::Struct<V,H> &value) {__string_hash_set(HX_MAP_THIS,key,value); }\n template |