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; }