示例#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);
 }
 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;
 }
 public IndexedDictionary()
 {
     this.tree = new NonDuplicateRedBlackTree <KeyValuePair <TKey, TValue> >(new KeyCalueCompare <TKey, TValue>());
 }