|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtentIndex
A Collection of Regions that supports indexed subsets. That is, in addition to acting like a normal collection, it also allows getting an iterator that will return a superset of all intersecting regions that is a subset of the whole collection.
Nested Class Summary | |
---|---|
static class |
ExtentIndex.AbstractExtentIndex
A basic implementation of ExtentIndex that uses Collection-typed buckets. |
static class |
ExtentIndex.ArrayListExtentIndexImpl
|
static class |
ExtentIndex.HashSetExtentIndexImpl
|
Method Summary | |
---|---|
boolean |
addExtent(GeoExtent region)
Add a extent to the index. |
void |
clear()
Resets the index to an empty state. |
double |
indexHorizontalRange()
report on the maximum horizontalRange supported by this index. |
java.util.Iterator |
iterator(GeoExtent extent)
return an iterator listing a subset of the whole collection that is a superset of the actual matches. |
boolean |
removeExtent(GeoExtent region)
Remove a region from the index. |
Methods inherited from interface java.util.Collection |
---|
add, addAll, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
double indexHorizontalRange()
boolean addExtent(GeoExtent region)
region
-
boolean removeExtent(GeoExtent region)
region
-
void clear()
clear
in interface java.util.Collection
java.util.Iterator iterator(GeoExtent extent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |