public virtual object haxe_iterators_HashMapKeyValueIterator_cast <K_c, V_c>() { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" if ((global::haxe.lang.Runtime.eq(typeof(K), typeof(K_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c)))) { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" return(this); } #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" global::haxe.iterators.HashMapKeyValueIterator <K_c, V_c> new_me = new global::haxe.iterators.HashMapKeyValueIterator <K_c, V_c>(((global::haxe.lang.EmptyObject)(global::haxe.lang.EmptyObject.EMPTY))); #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" global::Array <string> fields = global::Reflect.fields(this); #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" int i = 0; #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" while ((i < fields.length)) { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" string field = fields[i++]; #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" global::Reflect.setField(new_me, field, global::Reflect.field(this, field)); } #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" return(new_me); }
public static object __hx_cast <K_c_c, V_c_c>(global::haxe.iterators.HashMapKeyValueIterator me) { #line 5 "/opt/haxe/std/haxe/iterators/HashMapKeyValueIterator.hx" return(((me != null)) ? (me.haxe_iterators_HashMapKeyValueIterator_cast <K_c_c, V_c_c>()) : default(object)); }
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))))); }