StringMap<T>

package haxe.ds

implements IMap<String, T>

Available on all platforms

StringMap allows mapping of String keys to arbitrary values.

See Map for documentation details.

See also:

Constructor

new()

Creates a new StringMap.

Methods

clear():Void

See Map.clear

copy():StringMap<T>

See Map.copy

exists(key:String):Bool

See Map.exists

get(key:String):Null<T>

See Map.get

iterator():Iterator<T>

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.

inlinekeyValueIterator():KeyValueIterator<String, T>

See Map.keyValueIterator

keys():Iterator<String>

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.

remove(key:String):Bool

See Map.remove

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

See Map.set

toString():String

See Map.toString

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/ds/StringMap.html