public void Remove(RangeQueue q) { foreach (Range r in q.ranges) { Remove(r); } }
public void Add(RangeQueue q) { foreach (Range r in q.ranges) { Add(r); } }
public static RangeQueue Invert(Range space, RangeQueue q) { RangeQueue ret = new RangeQueue(); ret.Add(space); foreach (Range r in q.ranges) { ret.Remove(r); } return(ret); }