class haxe.ds.StringMap<T> implements IMap<String, T>

Available on all platforms

StringMap allows mapping of String keys to arbitrary values.

See Map for documentation details.

Instance Fields

function new():Void

Creates a new StringMap.

function exists(key:String):Bool

See Map.exists

function get(key:String):Null<T>

See Map.get

function iterator():Iterator<T>

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

See Map.iterator

function 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

function keys():Iterator<String>

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

See Map.keys

function 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

function remove(key:String):Bool

See Map.remove

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

See Map.set

function toString():String

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

See Map.toString

function toString():String

Available on cs, java

Returns an displayable representation of the hashtable content.