StringMap allows mapping of String keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

new()

Creates a new StringMap.

Methods

get(key:String):Null<T>

iterator():Iterator<T>

Available on java, python, cs, lua

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_untypediterator():Iterator<T>

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

keys():Iterator<String>

Available on java, python, cs, lua

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_untypedkeys():Iterator<String>

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

set(key:String, value:T):Void

toString():String

Available on java, python, cs, lua

Returns an displayable representation of the hashtable content.

toString():String

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