public interface IntervalIndexedCollection<E>
Modifier and Type | Method and Description |
---|---|
void |
add(E element,
int left,
int right)
Add an element to this collection.
|
java.util.Iterator<E> |
get(int i)
Get all of the elements at point i (i.e., all of the
elements with intervals that include i).
|
void add(E element, int left, int right)
element
- The element to addleft
- The left-most point in the closed intervalright
- The right-most point in the closed intervaljava.util.Iterator<E> get(int i)
i
- The point of interest