示例#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));
 }