private static class SearchCompiler.BooleanMatch extends SearchCompiler.TaggedMatch
Modifier and Type | Field and Description |
---|---|
private boolean |
defaultValue |
private String |
key |
Constructor and Description |
---|
BooleanMatch(String key,
boolean defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
String |
toString() |
match
evaluate, existsMatch, forallMatch
private final boolean defaultValue
BooleanMatch(String key, boolean defaultValue)
public boolean match(Tagged osm)
SearchCompiler.Match
match
in class SearchCompiler.TaggedMatch
osm
- the tagged object to test