private static class SearchCompiler.RoleMatch extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
role |
Constructor and Description |
---|
RoleMatch(java.lang.String role) |
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, test
private java.lang.String role
RoleMatch(java.lang.String role)
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
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object