| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<? super T>> |
TreeNode.addInterval(IntervalTree<T> tree,
TreeNode<T> root,
Interval<T> interval)
Adds a new interval to the subtree rooted at a
TreeNode. |
static <T extends Comparable<? super T>> |
TreeNode.removeInterval(IntervalTree<T> tree,
TreeNode<T> root,
Interval<T> interval)
A helper function for the
remove(Interval) method. |
Copyright © 2016. All rights reserved.