StringMap allows mapping of String keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

@:has_untypednew()

Creates a new StringMap.

Methods

@:has_untypedexists(key:String):Bool

@:has_untypedget(key:String):Null<T>

@:has_untypediterator():Iterator<T>

Available on php, hl, js, flash, lua, neko, python, cpp, macro

iterator():Iterator<T>

Available on cs, java

Returns an iterator of all values in the hashtable. Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration

@:has_untypedkeys():Iterator<String>

Available on php, hl, js, flash, lua, neko, python, cpp, macro

keys():Iterator<String>

Available on cs, java

Returns an iterator of all keys in the hashtable. Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration

@:has_untypedremove(key:String):Bool

@:has_untypedset(key:String, value:T):Void

toString():String

Available on php, hl, js, flash, lua, neko, python, cpp, macro

toString():String

Available on cs, java

Returns an displayable representation of the hashtable content.