query method
Queries all intervals that overlap with start, end.
Zero-allocation recursive search using callback.
Implementation
void query(T start, T end, void Function(Interval<T>) onOverlap) {
_queryNode(root, start, end, onOverlap);
}
Queries all intervals that overlap with start, end.
Zero-allocation recursive search using callback.
void query(T start, T end, void Function(Interval<T>) onOverlap) {
_queryNode(root, start, end, onOverlap);
}