ds.UnsafeStringMap

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

inline exists (key:String):Bool

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

inline iterator ():Iterator<T>

inline keys ():Iterator<String>

remove (key:String):Bool

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

toString ():String

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部