Пример #1
0
 public IndexedSet(IComparer <T> comparer)
 {
     this.tree = new RedBlackTree <T>(comparer);
 }
Пример #2
0
 public IndexedSet()
 {
     this.tree = new RedBlackTree <T>(Comparer <T> .Default);
 }
Пример #3
0
 public IndexedDictionary(IComparer <KeyValuePair <TKey, TValue> > comparer)
 {
     this.tree = new NonDuplicateRedBlackTree <KeyValuePair <TKey, TValue> >(comparer);
 }
Пример #4
0
 internal KeyCollection(ISelfBalanceTree <KeyValuePair <TKey, TValue> > root)
 {
     this.tree = root;
 }
Пример #5
0
 public IndexedDictionary()
 {
     this.tree = new NonDuplicateRedBlackTree <KeyValuePair <TKey, TValue> >(new KeyCalueCompare <TKey, TValue>());
 }