|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.geo.BoundaryFilter
public class BoundaryFilter
NodeFilter implementation that returns all GeoShapes within a certain boundary.
| Constructor Summary | |
|---|---|
BoundaryFilter(GeoRectangle bounds)
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(java.lang.Object node)
Returns true if the specified object is GeoShape and if its boundary intersects with our query boundary. |
boolean |
supportsGraph(com.phoenixst.plexus.Graph graph)
Returns true for any GeospatialGraph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundaryFilter(GeoRectangle bounds)
| Method Detail |
|---|
public boolean supportsGraph(com.phoenixst.plexus.Graph graph)
supportsGraph in interface TargetedFilterpublic boolean evaluate(java.lang.Object node)
evaluate in interface org.apache.commons.collections.Predicate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||