示例#1
0
 public void Clear()
 {
     _tree = new LeftLeaningRedBlackTree <T>(Comparer);
 }
示例#2
0
 public SortedSet(IComparer <T> comparer)
 {
     Comparer = comparer ?? Comparer <T> .Default;
     _tree    = new LeftLeaningRedBlackTree <T>(Comparer);
 }