private abstract static class SearchCompiler.RangeMatch extends SearchCompiler.Match
Constructor and Description |
---|
RangeMatch(long min,
long max) |
RangeMatch(PushbackTokenizer.Range range) |
Modifier and Type | Method and Description |
---|---|
protected abstract Long |
getNumber(OsmPrimitive osm) |
protected abstract String |
getString() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
String |
toString() |
evaluate, existsMatch, forallMatch, match
RangeMatch(long min, long max)
RangeMatch(PushbackTokenizer.Range range)
protected abstract Long getNumber(OsmPrimitive osm)
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to test