public static class SearchCompiler.And extends SearchCompiler.AbstractBinaryMatch
lhs, rhs| Constructor and Description |
|---|
And(SearchCompiler.Match lhs,
SearchCompiler.Match rhs)
Constructs a new
And match. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
java.lang.String |
toString() |
equals, getLhs, getRhs, hashCode, parenthesistestpublic And(SearchCompiler.Match lhs, SearchCompiler.Match rhs)
And match.lhs - left hand siderhs - right hand sidepublic boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to testpublic boolean match(Tagged osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the tagged object to testpublic java.lang.String toString()
toString in class java.lang.Object