private static class SearchCompiler.ExactType extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
type |
Modifier and Type | Method and Description |
---|---|
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
String |
toString() |
evaluate, existsMatch, forallMatch, match
private final OsmPrimitiveType type
ExactType(String type) throws SearchCompiler.ParseError
SearchCompiler.ParseError
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to test