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