示例#1
0
 public BplusTree(ITreeIndex tree)
 {
     if (!(tree is BplusTreeBytes) && this.checkTree())
     {
         throw new BplusTreeException("Bplustree (superclass) can only wrap BplusTreeBytes, not other ITreeIndex implementations");
     }
     this.tree = tree;
 }
示例#2
0
 public BplusTree(ITreeIndex tree)
 {
     if (!(tree is BplusTreeBytes) && checkTree())
     {
         throw new BplusTreeException("Bplustree (superclass) can only wrap BplusTreeBytes, not other ITreeIndex implementations");
     }
     Tree = tree;
 }