Class SearchCompiler.Closed
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
org.openstreetmap.josm.data.osm.search.SearchCompiler.Closed
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
Matches ways which are closed (i.e. first and last node are the same)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(OsmPrimitive osm) Tests whether the primitive matches this criterion.toString()Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
Constructor Details
-
Closed
private Closed()
-
-
Method Details
-
match
Description copied from class:SearchCompiler.MatchTests whether the primitive matches this criterion.- Specified by:
matchin classSearchCompiler.Match- Parameters:
osm- the primitive to test- Returns:
- true if the primitive matches this criterion
-
toString
-