示例#1
0
        internal BpTreeEnumerator(BpTree <T> tree, bool asc = true)
        {
            this.asc = asc;

            startNode = asc ? tree.BottomLeftNode : tree.BottomRightNode;
            current   = startNode;

            index = asc ? -1 : current.KeyCount;
        }
 internal BpTreeEnumerator(BpTree <T> tree)
 {
     bottomLeftNode = tree.BottomLeftNode;
     current        = bottomLeftNode;
 }