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 java.lang.Long |
getNumber(OsmPrimitive osm) |
protected abstract java.lang.String |
getString() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
java.lang.String |
toString() |
evaluate, existsMatch, forallMatch, matchRangeMatch(long min, long max)
RangeMatch(PushbackTokenizer.Range range)
protected abstract java.lang.Long getNumber(OsmPrimitive osm)
protected abstract java.lang.String getString()
public boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to testpublic java.lang.String toString()
toString in class java.lang.Object