public object haxe_ds__IntMap_IntMapKeyIterator_cast <T_c>()
        {
                        #line 471 "/opt/haxe/std/cs/_std/haxe/ds/IntMap.hx"
            if (global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)))
            {
                                #line 471 "/opt/haxe/std/cs/_std/haxe/ds/IntMap.hx"
                return(this);
            }

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

                        #line 471 "/opt/haxe/std/cs/_std/haxe/ds/IntMap.hx"
            return(new_me);
        }
 private static void __hx_ctor_haxe_ds__IntMap_IntMapKeyIterator <T_c>(global::haxe.ds._IntMap.IntMapKeyIterator <T_c> __hx_this, global::haxe.ds.IntMap <T_c> m)
 {
                 #line 477 "/opt/haxe/std/cs/_std/haxe/ds/IntMap.hx"
     __hx_this.i = 0;
     __hx_this.m = m;
                 #line 479 "/opt/haxe/std/cs/_std/haxe/ds/IntMap.hx"
     __hx_this.len = m.nBuckets;
 }
예제 #3
0
        public object haxe_ds__IntMap_IntMapKeyIterator_cast <T_c>()
        {
            if (global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)))
            {
                return(this);
            }

            global::haxe.ds._IntMap.IntMapKeyIterator <T_c> new_me = new global::haxe.ds._IntMap.IntMapKeyIterator <T_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);
        }
예제 #4
0
 public static object __hx_cast <T_c_c>(global::haxe.ds._IntMap.IntMapKeyIterator me)
 {
     return(((me != null)) ? (me.haxe_ds__IntMap_IntMapKeyIterator_cast <T_c_c>()) : default(object));
 }
예제 #5
0
 public static void __hx_ctor_haxe_ds__IntMap_IntMapKeyIterator <T_c>(global::haxe.ds._IntMap.IntMapKeyIterator <T_c> __hx_this, global::haxe.ds.IntMap <T_c> m)
 {
     __hx_this.i   = 0;
     __hx_this.m   = m;
     __hx_this.len = m.nBuckets;
 }
 public static object __hx_cast <T_c_c>(global::haxe.ds._IntMap.IntMapKeyIterator me)
 {
                 #line 471 "/opt/haxe/std/cs/_std/haxe/ds/IntMap.hx"
     return(((me != null)) ? (me.haxe_ds__IntMap_IntMapKeyIterator_cast <T_c_c>()) : default(object));
 }