public static global::haxe.ds._HashMap.HashMapData <K, V> _new <K, V>() { #line 38 "/opt/haxe/std/haxe/ds/HashMap.hx" global::haxe.ds._HashMap.HashMapData <K, V> this1 = new global::haxe.ds._HashMap.HashMapData <K, V>(); #line 38 "/opt/haxe/std/haxe/ds/HashMap.hx" return((global::haxe.ds._HashMap.HashMapData <K, V>)(this1)); }
public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" switch (hash) { case 1191633396: { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" this.keys = ((object)(@value)); #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" return(@value); } case 5442204: { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" this.map = ((global::haxe.ds._HashMap.HashMapData <K, V>)(global::haxe.ds._HashMap.HashMapData <object, object> .__hx_cast <K, V>(((global::haxe.ds._HashMap.HashMapData)(@value))))); #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" return(@value); } default: { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" return(base.__hx_setField(field, hash, @value, handleProperties)); } } } #line default }
public virtual object haxe_ds__HashMap_HashMapData_cast <K_c, V_c>() { #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" if ((global::haxe.lang.Runtime.eq(typeof(K), typeof(K_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c)))) { #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" return(this); } #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" global::haxe.ds._HashMap.HashMapData <K_c, V_c> new_me = new global::haxe.ds._HashMap.HashMapData <K_c, V_c>(global::haxe.lang.EmptyObject.EMPTY); #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" global::Array <string> fields = global::Reflect.fields(this); #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" int i = 0; #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" while ((i < fields.length)) { #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" string field = fields[i++]; #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" global::Reflect.setField(new_me, field, global::Reflect.field(this, field)); } #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" return(new_me); }
public static global::haxe.ds._HashMap.HashMapData _new() { #line 36 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" global::haxe.ds._HashMap.HashMapData this1 = new global::haxe.ds._HashMap.HashMapData(); #line 36 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" return((global::haxe.ds._HashMap.HashMapData)(this1)); }
public static global::haxe.ds._HashMap.HashMapData <K, V> copy <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1) { #line 83 "/opt/haxe/std/haxe/ds/HashMap.hx" global::haxe.ds._HashMap.HashMapData <K, V> copied = new global::haxe.ds._HashMap.HashMapData <K, V>(); copied.keys = this1.keys.copy(); #line 85 "/opt/haxe/std/haxe/ds/HashMap.hx" copied.values = this1.values.copy(); return((global::haxe.ds._HashMap.HashMapData <K, V>)(copied)); }
public static global::haxe.ds._HashMap.HashMapData copy(global::haxe.ds._HashMap.HashMapData this1) { #line 81 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" global::haxe.ds._HashMap.HashMapData copied = new global::haxe.ds._HashMap.HashMapData(); copied.keys = this1.keys.copy(); #line 83 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" copied.values = this1.values.copy(); return((global::haxe.ds._HashMap.HashMapData)(copied)); }
public static void @set <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1, K k, V v) { #line 46 "/opt/haxe/std/haxe/ds/HashMap.hx" this1.keys.@set(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))), k); this1.values.@set(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))), v); }
public static object __hx_cast <K_c_c, V_c_c>(global::haxe.ds._HashMap.HashMapData me) { #line 112 "/opt/haxe/std/haxe/ds/HashMap.hx" return(((me != null)) ? (me.haxe_ds__HashMap_HashMapData_cast <K_c_c, V_c_c>()) : default(object)); }
public static void @set(global::haxe.ds._HashMap.HashMapData this1, object k, object v) { #line 44 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" this1.keys.@set(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))), ((object)(k))); this1.values.@set(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))), ((object)(v))); }
public static global::haxe.iterators.HashMapKeyValueIterator <K, V> keyValueIterator <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1) { #line 100 "/opt/haxe/std/haxe/ds/HashMap.hx" return(new global::haxe.iterators.HashMapKeyValueIterator <K, V>(((global::haxe.ds._HashMap.HashMapData <K, V>)(this1)))); }
public static void clear(global::haxe.ds._HashMap.HashMapData this1) { #line 98 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" this1.keys.clear(); this1.values.clear(); }
public static object iterator(global::haxe.ds._HashMap.HashMapData this1) { #line 91 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" return(new global::haxe.ds._IntMap.IntMapValueIterator(((global::haxe.ds.IntMap)(this1.values)))); }
public static bool @remove(global::haxe.ds._HashMap.HashMapData this1, object k) { #line 66 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" this1.values.@remove(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null))))); return(this1.keys.@remove(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))))); }
public static global::haxe.lang.Null <V> @get <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1, K k) { #line 54 "/opt/haxe/std/haxe/ds/HashMap.hx" return(this1.values.@get(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))))); }
protected static void __hx_ctor_haxe_iterators_HashMapKeyValueIterator <K_c, V_c>(global::haxe.iterators.HashMapKeyValueIterator <K_c, V_c> __hx_this, global::haxe.ds._HashMap.HashMapData <K_c, V_c> map) { #line 10 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" __hx_this.map = map; __hx_this.keys = ((object)(new global::haxe.ds._IntMap.IntMapValueIterator <K_c>(((global::haxe.ds.IntMap <K_c>)(((global::haxe.ds._HashMap.HashMapData <K_c, V_c>)(map)).keys))))); }
public static bool @remove <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1, K k) { #line 68 "/opt/haxe/std/haxe/ds/HashMap.hx" this1.values.@remove(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null))))); return(this1.keys.@remove(((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(k, "hashCode", 125111323, null)))))); }
public HashMapKeyValueIterator(global::haxe.ds._HashMap.HashMapData <K, V> map) { #line 9 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" global::haxe.iterators.HashMapKeyValueIterator <object, object> .__hx_ctor_haxe_iterators_HashMapKeyValueIterator <K, V>(((global::haxe.iterators.HashMapKeyValueIterator <K, V>)(this)), ((global::haxe.ds._HashMap.HashMapData <K, V>)(map))); }
public static object iterator <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1) { #line 93 "/opt/haxe/std/haxe/ds/HashMap.hx" return(new global::haxe.ds._IntMap.IntMapValueIterator <V>(((global::haxe.ds.IntMap <V>)(this1.values)))); }
protected static void __hx_ctor_haxe_ds__HashMap_HashMapData <K_c, V_c>(global::haxe.ds._HashMap.HashMapData <K_c, V_c> __hx_this) { #line 117 "/opt/haxe/std/haxe/ds/HashMap.hx" __hx_this.keys = new global::haxe.ds.IntMap <K_c>(); __hx_this.values = new global::haxe.ds.IntMap <V_c>(); }
public static void clear <K, V>(global::haxe.ds._HashMap.HashMapData <K, V> this1) { #line 107 "/opt/haxe/std/haxe/ds/HashMap.hx" this1.keys.clear(); this1.values.clear(); }
protected static void __hx_ctor_haxe_ds__HashMap_HashMapData(global::haxe.ds._HashMap.HashMapData __hx_this) { #line 108 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" __hx_this.keys = new global::haxe.ds.IntMap(); __hx_this.values = new global::haxe.ds.IntMap(); }