|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IntervalIndexedCollection<E>
A collection of objects that is indexed by an interval That is, instead of a each element in the collection being associated with a single index i, each element is associated with a closed interval [a, b]
| Method Summary | |
|---|---|
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) |
| Method Detail |
|---|
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
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||