W3cubDocs

/Haxe

UnsafeStringMap<T>

package haxe.ds

implements IMap<String, T>

Available on flash

This is similar to StringMap excepts that it does not sanitize the keys. As a result, it will be faster to access the map for reading, but it might fail with some reserved keys such as constructor or prototype.

Constructor

new ()

Methods

@:has_untyped inline exists (key:String):Bool

@:has_untyped inline get (key:String):Null<T>

inline iterator ():Iterator<T>

inline keys ():Iterator<String>

@:has_untyped remove (key:String):Bool

@:has_untyped inline set (key:String, value:T ):Void

toString ():String

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