コード例 #1
0
        private IRTSLinker getPriorityRoot(IRTSLinker left, IRTSLinker right)
        {
            IRTSLinker l = left;

            while (l != null && l.isPriority(right))
            {
                IRTSLinker l1 = l.getSuper();
                if (l1 == null)
                {
                    break;
                }
                else
                {
                    l = l1;
                }
            }
            return(l);
        }
コード例 #2
0
        private IRTSLinker getDeepRoot(IRTSLinker linker)
        {
            IRTSLinker l = linker;

            while (l != null)
            {
                IRTSLinker l1 = l.getSuper();
                if (l1 == null)
                {
                    break;
                }
                else
                {
                    l = l1;
                }
            }
            return(l);
        }