private static class SearchCompiler.Nth extends SearchCompiler.Match
Modifier | Constructor and Description |
---|---|
private |
Nth(int nth,
boolean modulo) |
(package private) |
Nth(PushbackTokenizer tokenizer,
boolean modulo) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
java.lang.String |
toString() |
evaluate, existsMatch, forallMatch, match
Nth(PushbackTokenizer tokenizer, boolean modulo) throws SearchCompiler.ParseError
SearchCompiler.ParseError
private Nth(int nth, boolean modulo) throws SearchCompiler.ParseError
SearchCompiler.ParseError
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to testpublic java.lang.String toString()
toString
in class java.lang.Object