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