void Gather(KeyNode <K> node) { if (node != null) { Add(Allocation.New(node)); Gather(node.Left); Gather(node.Right); } }
public int Compare(Allocation x, Allocation y) { return(x.Begin.CompareTo(y.Begin)); }