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