Exemplo n.º 1
0
 /// <summary>
 /// Constructor to use if you want to provide number of slots per node and your comparer object
 /// </summary>
 /// <param name="SlotLen">Number of slots per node</param>
 /// <param name="Comparer">compare object defining how records will be sorted</param>
 public BTreeDictionary(byte SlotLen, System.Collections.Generic.IComparer <TKey> Comparer)
 {
     btree = new BTreeIndex.Collections.Generic.BTree.BTreeAlgorithm <TKey, TValue>(SlotLen, Comparer);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor to use if you want to use default number of slots per node (6)
 /// </summary>
 public BTreeDictionary()
 {
     btree = new BTreeIndex.Collections.Generic.BTree.BTreeAlgorithm <TKey, TValue>();
 }