Class SearchCompiler.Untagged
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Untagged
-
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
private static class SearchCompiler.Untagged extends SearchCompiler.Match
Matches objects that don't have any interesting tags (i.e. only has source, fixme, etc.). The complete list of uninteresting tags can be found here: org.openstreetmap.josm.data.osm.OsmPrimitive.getUninterestingKeys()
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Untagged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.String
toString()
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
-
-
-
Constructor Detail
-
Untagged
private Untagged()
-
-
Method Detail
-
match
public boolean match(OsmPrimitive osm)
Description copied from class:SearchCompiler.Match
Tests whether the primitive matches this criterion.- Specified by:
match
in classSearchCompiler.Match
- Parameters:
osm
- the primitive to test- Returns:
- true if the primitive matches this criterion
-
-