Пример #1
0
 public Builder(BPTree <TKey, TValue> tree) : this(tree.KeyComparer, tree.InternalNodeCapacity, tree.LeafCapacity)
 {
     _tree = tree;
     if (tree?.Count > 0)
     {
         _bulkLoading = _initialize = false;                  // if tree is already initialized bulkloading is not supported
     }
 }
Пример #2
0
 private DebugView(BPTree <TKey, TValue> tree)
 {
     _tree = tree ?? throw new ArgumentNullException(nameof(tree));
 }
Пример #3
0
 public Builder(BPTree <TKey, TValue> tree, IEnumerable <(TKey key, TValue value)> source) : this(tree)