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:
Available on macro, js, cpp, java, neko, php, flash, python, cs
Available on macro, js, cpp, java, hl, neko, php, flash, python, cs
Available on macro, js, cpp, java, neko, php, flash, python, cs
@:has_untypedget(key:A):Null<B>
Available on lua
Available on macro, js, cpp, neko, php, flash, python
Available on java, cs
Returns an iterator of all values in the hashtable.
Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration
Available on macro, js, cpp, java, neko, php, flash, python, cs
Available on macro, js, cpp, hl, neko, php, flash, python
Available on java, cs
Returns an iterator of all keys in the hashtable.
Implementation detail: Do not set() any new value while iterating, as it may cause a resize, which will break iteration
Available on macro, js, cpp, java, hl, neko, php, flash, python, cs
set(key:K, value:V):Void
Available on macro, js, cpp, java, neko, php, flash, python, cs
set(key:K, value:T):Void
Available on hl
@:has_untypedset(key:A, value:B):Void
Available on lua
Available on macro, js, cpp, hl, neko, php, flash, python, lua
Available on java, cs
Returns an displayable representation of the hashtable content.