Exemplo n.º 1
0
 public GenericCollection(ISortedDictionaryOnDisk collection)
 {
     this.Collection = (SortedDictionaryOnDisk)collection;
 }
Exemplo n.º 2
0
 public SdodWrapper(File.IFile file, System.Collections.IComparer comparer, string name,
                    bool isDataInKeySegment)
 {
     RealDictionary = new SortedDictionaryOnDisk(file, comparer, name, isDataInKeySegment);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor. Pass the B-Tree instance you want to enumerate its items/elements on.
 /// </summary>
 /// <param name="bTree">BTree instance items will be enumerated</param>
 public DictionaryEnumerator(SortedDictionaryOnDisk bTree)
 {
     BTree = (SortedDictionaryOnDisk)bTree.Clone();
     Reset();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor. Pass the B-Tree instance you want to enumerate its items/elements on.
 /// </summary>
 /// <param name="bTree">BTree instance items will be enumerated</param>
 public DictionaryEnumerator(SortedDictionaryOnDisk bTree)
 {
     this.BTree = bTree;
     this.Reset();
 }