Size returns the number of intervals in the tree.
()
| 218 | |
| 219 | // Size returns the number of intervals in the tree. |
| 220 | func (t *IntervalTree) Size() int { |
| 221 | return t.size |
| 222 | } |
| 223 | |
| 224 | // Clear removes all intervals from the tree. |
| 225 | func (t *IntervalTree) Clear() { |
no outgoing calls