W3cubDocs

/Haxe

WeakMap<K, V>

package haxe.ds

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.

See also:

Constructor

new()

Creates a new WeakMap.

Methods

clear():Void

See Map.clear

copy():WeakMap<K, V>

See Map.copy

exists(key:K):Bool

See Map.exists

get(key:K):Null<V>

See Map.get

iterator():Iterator<V>

See Map.iterator

inlinekeyValueIterator():KeyValueIterator<K, V>

See Map.keyValueIterator

keys():Iterator<K>

See Map.keys

remove(key:K):Bool

See Map.remove

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

See Map.set

toString():String

See Map.toString

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