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

Available on all platforms

WeakMap allows mapping of object keys to arbitrary values.

The keys are considered to be weak references on static targets.

See Map for documentation details.

Instance Fields

function new():Void

Creates a new WeakMap.

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