예제 #1
0
파일: DataMap.cs 프로젝트: wondial/lex.db
        void Gather(KeyNode <K> node)
        {
            if (node != null)
            {
                Add(Allocation.New(node));

                Gather(node.Left);
                Gather(node.Right);
            }
        }
예제 #2
0
파일: DataMap.cs 프로젝트: wondial/lex.db
 public int Compare(Allocation x, Allocation y)
 {
     return(x.Begin.CompareTo(y.Begin));
 }