|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaggedSpatialCollection<T,E>
In this section we present the TaggedSpatialCollection ADT, which is a tagged variation of the SpatialCollection ADT.
Method Summary | |
---|---|
TaggedElement<T,E> |
max(int dimension)
Returns a tagged element for the greatest tag in the collection (according to the comparator) in the given dimension. |
TaggedElement<T,E> |
min(int dimension)
Returns a tagged element for the least tag in the collection (according to the comparator) along the given dimension. |
Collection<TaggedElement<T,E>> |
withinBounds(T minCorner,
T maxCorner)
Returns a collection of the tagged elements for which the tag fall within (or on) the boundary of the multidimensional box defined by the two given corners, minCorner and maxCorner . |
Methods inherited from interface goldman.collection.tagged.TaggedCollection |
---|
accept, clear, contains, elements, ensureCapacity, get, getCapacity, getLocator, getSize, isEmpty, iterator, put, putAll, remove, tags, toString, trimToSize, values |
Method Detail |
---|
TaggedElement<T,E> min(int dimension)
NoSuchElementException
when the collection is empty.
TaggedElement<T,E> max(int dimension)
NoSuchElementException
when the collection is empty.
Collection<TaggedElement<T,E>> withinBounds(T minCorner, T maxCorner)
minCorner
and maxCorner
.
The method requires that the coordinates of minCorner
are less than or equal to those of maxCorner
along every dimension of the spatial collection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |