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:
@:has_untypedexists(key:K):Bool
Available on js, php, hl, flash, cs, macro, java, cpp, neko, python
@:has_untypedget(key:K):Null<V>
Available on js, php, flash, cs, macro, java, cpp, neko, python
@:has_untypedget(key:A):Null<B>
Available on lua
Available on js, php, flash, macro, cpp, neko, python
Available on cs, java
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 js, php, hl, flash, macro, cpp, neko, python
Available on cs, java
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
@:has_untypedremove(key:K):Bool
Available on js, php, hl, flash, cs, macro, java, cpp, neko, python
@:has_untypedset(key:K, value:V):Void
Available on js, php, flash, cs, macro, java, cpp, neko, python
set(key:K, value:T):Void
Available on hl
@:has_untypedset(key:A, value:B):Void
Available on lua
Available on js, php, hl, flash, macro, cpp, neko, lua, python
Available on cs, java
Returns an displayable representation of the hashtable content.