W3cubDocs

/Haxe Python

Dict<K, V>

package python

Available on python

Constructor

new ()

Variables

read only length:Int

Methods

clear ():Void

copy ():Dict<K, V>

get (key:K, ?def:V ):V

inline getSafe (key:K ):V

inline hasKey (k:K ):Bool

items ():DictView<Tuple2<K, V>>

inline iter ():NativeIterator<K>

inline iterator ():Iterator<V>

keys ():DictView<K>

pop (key:K, ?def:V ):V

popitem ():Tuple2<K, V>

inline remove (key:K ):Void

inline set (key:K, val:V ):Void

setdefault (key:K, ?def:V ):V

update (d:Dict<K, V>):Void

values ():DictView<V>

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