public Tree(ToInt func, Tree <T> tree) { this.func = func; root = new Point <T>(default(T), this); foreach (T data in tree.ToArray()) { Add(data); } }
public Tree(ToInt func, int capacity) { this.func = func; root = new Point <T>(default(T), this); for (int i = 0; i < capacity; i++) { Add(default(T)); } }
public Tree(ToInt func, Point <T> root) { this.func = func; this.root = root; }
public Tree(ToInt func) { this.func = func; root = new Point <T>(default(T), this); }
public override string ToString() { return(ToInt.ToString()); }