Class SearchCompiler.TagCountRange
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.RangeMatch
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.TagCountRange
-
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
private static class SearchCompiler.TagCountRange extends SearchCompiler.RangeMatch
Matches objects with a number of tags in given range
-
-
Constructor Summary
Constructors Constructor Description TagCountRange(PushbackTokenizer tokenizer)
TagCountRange(PushbackTokenizer.Range range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Long
getNumber(OsmPrimitive osm)
protected String
getString()
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.RangeMatch
equals, hashCode, match, toString
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
-
-
-
Constructor Detail
-
TagCountRange
TagCountRange(PushbackTokenizer.Range range)
-
TagCountRange
TagCountRange(PushbackTokenizer tokenizer) throws SearchParseError
- Throws:
SearchParseError
-
-
Method Detail
-
getNumber
protected Long getNumber(OsmPrimitive osm)
- Specified by:
getNumber
in classSearchCompiler.RangeMatch
-
getString
protected String getString()
- Specified by:
getString
in classSearchCompiler.RangeMatch
-
-