protected AbstractTreeSet(TreeTravels <T> .traverse strategy)
 {
     this.strategy = strategy;
 }
 public void setStrategy(string strategy)
 {
     fillMethodMap();
     this.strategy = methodMap[strategy];
 }
Example #3
0
 private MyTreeSetImpl(TreeTravels <T> .traverse strategy, T value, Comparer <T> comparator) : base(strategy)
 {
     this.value      = value;
     this.root       = true;
     this.comparator = comparator;
 }