private static class SearchCompiler.ExactType extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
type |
Constructor and Description |
---|
ExactType(java.lang.String type) |
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
private final OsmPrimitiveType type
ExactType(java.lang.String type) 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