Constructs and returns a set of all intervals in the tree. Completes in O(n) time. :rtype: set of Interval
(self)
| 844 | self.__init__(merged) |
| 845 | |
| 846 | def items(self): |
| 847 | """ |
| 848 | Constructs and returns a set of all intervals in the tree. |
| 849 | |
| 850 | Completes in O(n) time. |
| 851 | :rtype: set of Interval |
| 852 | """ |
| 853 | return set(self.all_intervals) |
| 854 | |
| 855 | def is_empty(self): |
| 856 | """ |
no outgoing calls