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 |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
java.lang.String |
toString() |
match, testprivate final OsmPrimitiveType type
ExactType(java.lang.String type) throws SearchParseError
SearchParseErrorpublic boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive 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