public object haxe_ds__ObjectMap_ObjectMapKeyIterator_cast <T_c, V_c>()
        {
                        #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
            if ((global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c))))
            {
                                #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
                return(this);
            }

                        #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
            global::haxe.ds._ObjectMap.ObjectMapKeyIterator <T_c, V_c> new_me = new global::haxe.ds._ObjectMap.ObjectMapKeyIterator <T_c, V_c>(((global::haxe.lang.EmptyObject)(global::haxe.lang.EmptyObject.EMPTY)));
                        #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
            global::Array <string> fields = global::Reflect.fields(this);
                        #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
            int i = 0;
                        #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
            while ((i < fields.length))
            {
                                #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
                string field = fields[i++];
                                #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
                global::Reflect.setField(new_me, field, global::Reflect.field(this, field));
            }

                        #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
            return(new_me);
        }
Exemplo n.º 2
0
        public object haxe_ds__ObjectMap_ObjectMapKeyIterator_cast <T_c, V_c>()
        {
            if ((global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c))))
            {
                return(this);
            }

            global::haxe.ds._ObjectMap.ObjectMapKeyIterator <T_c, V_c> new_me = new global::haxe.ds._ObjectMap.ObjectMapKeyIterator <T_c, V_c>(((global::haxe.lang.EmptyObject)(global::haxe.lang.EmptyObject.EMPTY)));
            global::Array <object> fields = global::Reflect.fields(this);
            int i = 0;

            while ((i < fields.length))
            {
                string field = global::haxe.lang.Runtime.toString(fields[i++]);
                global::Reflect.setField(new_me, field, global::Reflect.field(this, field));
            }

            return(new_me);
        }
 public static object __hx_cast <T_c_c, V_c_c>(global::haxe.ds._ObjectMap.ObjectMapKeyIterator me)
 {
                 #line 476 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
     return(((me != null)) ? (me.haxe_ds__ObjectMap_ObjectMapKeyIterator_cast <T_c_c, V_c_c>()) : default(object));
 }
 private static void __hx_ctor_haxe_ds__ObjectMap_ObjectMapKeyIterator <T_c, V_c>(global::haxe.ds._ObjectMap.ObjectMapKeyIterator <T_c, V_c> __hx_this, global::haxe.ds.ObjectMap <T_c, V_c> m)
 {
                 #line 482 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
     __hx_this.i = 0;
     __hx_this.m = m;
                 #line 484 "/opt/haxe/std/cs/_std/haxe/ds/ObjectMap.hx"
     __hx_this.len = m.nBuckets;
 }
Exemplo n.º 5
0
 public static object __hx_cast <T_c_c, V_c_c>(global::haxe.ds._ObjectMap.ObjectMapKeyIterator me)
 {
     return(((me != null)) ? (me.haxe_ds__ObjectMap_ObjectMapKeyIterator_cast <T_c_c, V_c_c>()) : default(object));
 }
Exemplo n.º 6
0
 public static void __hx_ctor_haxe_ds__ObjectMap_ObjectMapKeyIterator <T_c, V_c>(global::haxe.ds._ObjectMap.ObjectMapKeyIterator <T_c, V_c> __hx_this, global::haxe.ds.ObjectMap <T_c, V_c> m)
 {
     __hx_this.i   = 0;
     __hx_this.m   = m;
     __hx_this.len = m.nBuckets;
 }