|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.geotools.graph.build.FeatureComparator
org.geotools.graph.build.PolygonComparator
An implentation of FeatureComparator used to compare Polygons.
| Field Summary |
| Fields inherited from class org.geotools.graph.build.FeatureComparator |
NO_RELATIONSHIP |
| Constructor Summary | |
PolygonComparator()
|
|
| Method Summary | |
int |
compare(org.geotools.feature.Feature f1,
org.geotools.feature.Feature f2)
Implements the touches relationship |
| Methods inherited from class org.geotools.graph.build.FeatureComparator |
compare |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
equals |
| Constructor Detail |
public PolygonComparator()
| Method Detail |
public int compare(org.geotools.feature.Feature f1,
org.geotools.feature.Feature f2)
Touches is a bidirecitonal relationship - so the order in which the features are added into the graph should not effect the resulting outcome.
compare in class FeatureComparatorf1 - DOCUMENT ME!f2 - DOCUMENT ME!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||