private static class SearchCompiler.HasRole extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
role |
Constructor and Description |
---|
HasRole(PushbackTokenizer tokenizer) |
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.
|
match, test
private final java.lang.String role
HasRole(PushbackTokenizer tokenizer)
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to testpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object