Adds items in the tree which potentially overlap the query interval to the given collection. If the query interval is
null, add all items in the tree.
-
Parameters:
-
interval - interval a query interval, or null
-
resultItems - resultItems the candidate items found