Exemplo n.º 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
     }
 }
Exemplo n.º 2
0
 private DebugView(BPTree <TKey, TValue> tree)
 {
     _tree = tree ?? throw new ArgumentNullException(nameof(tree));
 }
Exemplo n.º 3
0
 public Builder(BPTree <TKey, TValue> tree, IEnumerable <(TKey key, TValue value)> source) : this(tree)