private static class SearchCompiler.BooleanMatch extends SearchCompiler.TaggedMatch
| Modifier and Type | Field and Description |
|---|---|
private boolean |
defaultValue |
private java.lang.String |
key |
| Constructor and Description |
|---|
BooleanMatch(java.lang.String key,
boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
java.lang.String |
toString() |
compilePattern, matchtestprivate final java.lang.String key
private final boolean defaultValue
BooleanMatch(java.lang.String key, boolean defaultValue)
public boolean match(Tagged osm)
SearchCompiler.Matchmatch in class SearchCompiler.TaggedMatchosm - the tagged object to testpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object