Class SearchCompiler.NodeCountRange
- 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.NodeCountRange
-
- All Implemented Interfaces:
java.util.function.Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
private static class SearchCompiler.NodeCountRange extends SearchCompiler.RangeMatch
Matches ways with a number of nodes in given range
-
-
Constructor Summary
Constructors Constructor Description NodeCountRange(PushbackTokenizer tokenizer)NodeCountRange(PushbackTokenizer.Range range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.LonggetNumber(OsmPrimitive osm)protected java.lang.StringgetString()-
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
-
NodeCountRange
NodeCountRange(PushbackTokenizer.Range range)
-
NodeCountRange
NodeCountRange(PushbackTokenizer tokenizer) throws SearchParseError
- Throws:
SearchParseError
-
-
Method Detail
-
getNumber
protected java.lang.Long getNumber(OsmPrimitive osm)
- Specified by:
getNumberin classSearchCompiler.RangeMatch
-
getString
protected java.lang.String getString()
- Specified by:
getStringin classSearchCompiler.RangeMatch
-
-