class haxe.ds.ObjectMap<K, V> implements IMap<K, V>

Available on all platforms

ObjectMap allows mapping of object keys to arbitrary values.

On static targets, the keys are considered to be strong references. Refer to haxe.ds.WeakMap for a weak reference version.

See Map for documentation details.

Instance Fields

function new():Void

Creates a new ObjectMap.

function exists(key:K):Bool

function get(key:K):Null<V>

function iterator():Iterator<V>

function keys():Iterator<K>

function remove(key:K):Bool

function set(key:K, value:V):Void