W3cubDocs

/Haxe

HashMap<K, V>(HashMapData<K, V>)

package haxe.ds

Available on all platforms

HashMap allows mapping of hashable objects to arbitrary values.

See Map for documentation details.

See:

Constructor

@:impl inline new ()

Creates a new HashMap.

Methods

@:impl inline exists (this:HashMapData<K, V>):Bool

See Map.exists

@:impl inline get (this:HashMapData<K, V>):Null<V>

See Map.get

@:impl inline iterator ():Iterator<V>

See Map.iterator

@:impl inline keys ():Iterator<K>

See Map.keys

@:impl inline remove (this:HashMapData<K, V>):Bool

See Map.remove

@:impl inline set (this:HashMapData<K, V>, k:K ):Void

See Map.set

Static methods

@:impl static inline new ()

Creates a new HashMap.

@:impl static inline exists (this:HashMapData<K, V>):Bool

See Map.exists

@:impl static inline get (this:HashMapData<K, V>):Null<V>

See Map.get

@:impl static inline iterator ():Iterator<V>

See Map.iterator

@:impl static inline keys ():Iterator<K>

See Map.keys

@:impl static inline remove (this:HashMapData<K, V>):Bool

See Map.remove

@:impl static inline set (this:HashMapData<K, V>, k:K ):Void

See Map.set

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