Exemple #1
0
        private Class122 method_7(Class122 class122_1)
        {
            Class122 class2 = class122_1;

            if (class122_1.method_12() != null)
            {
                Class122 class3 = class122_1.method_12();
                if ((class3.method_8() == class122_1) && (class3.method_10().method_2() == class122_1.method_2()))
                {
                    class2 = class3.method_10();
                }
                if (class3.method_12() == null)
                {
                    return(class2);
                }
                Class122 class4 = class3.method_12();
                if ((class4.method_8() == class3) && (class4.method_10().method_2() == class122_1.method_2()))
                {
                    return(class4.method_10());
                }
                if ((class4.method_10() == class3) && (class4.method_8().method_2() == class122_1.method_2()))
                {
                    class2 = class4.method_8();
                }
            }
            return(class2);
        }
Exemple #2
0
        private void method_5(Class122 class122_1, Class122 class122_2)
        {
            if ((class122_1.method_12() == null) || (class122_2.method_12() == null))
            {
                throw new ApplicationException("Can't swap root nodes.");
            }
            int num = class122_1.method_0();

            class122_1.method_1(class122_2.method_0());
            class122_2.method_1(num);
            Class122 class2 = class122_1.method_12().method_8();
            Class122 class3 = class122_2.method_12().method_8();

            if (class2 == class122_1)
            {
                class122_1.method_12().method_9(class122_2);
            }
            else
            {
                class122_1.method_12().method_11(class122_2);
            }
            if (class3 == class122_2)
            {
                class122_2.method_12().method_9(class122_1);
            }
            else
            {
                class122_2.method_12().method_11(class122_1);
            }
            Class122 class4 = class122_1.method_12();

            class122_1.method_13(class122_2.method_12());
            class122_2.method_13(class4);
        }
Exemple #3
0
        public int[] method_1(Class122 class122_1)
        {
            ArrayList list = new ArrayList();

            while (class122_1.method_12() != null)
            {
                list.Add((class122_1.method_12().method_8() == class122_1) ? 0 : 1);
                class122_1 = class122_1.method_12();
            }
            list.Reverse();
            return((int[])list.ToArray(typeof(int)));
        }
Exemple #4
0
        public void method_0(byte byte_0)
        {
            Class122 class2 = this.method_2(byte_0);

            if (class2 == null)
            {
                class2 = this.method_6(byte_0, 0);
            }
            do
            {
                Class122 class3 = this.method_7(class2);
                if ((class2 != class3) && (class2.method_12() != class3))
                {
                    this.method_5(class2, class3);
                }
                class2.method_3(class2.method_2() + 1L);
                class2 = class2.method_12();
            }while (class2 != null);
        }