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.

See also:

Constructor

new()

Creates a new ObjectMap.

Methods

@:has_untypedinlineget(key:K):Null<V>

iterator():Iterator<V>

See Map.iterator

(cs, java) Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration.

keys():Iterator<K>

See Map.keys

(cs, java) Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration.

@:has_untypedremove(key:K):Bool

@:has_untypedinlineset(key:K, value:V):Void

Inherited Variables

Inherited Methods