private static class ContextSwitchTemplate.ParentSet extends ContextSwitchTemplate.ContextProvider
| Modifier and Type | Field and Description |
|---|---|
private SearchCompiler.Match |
childCondition |
condition| Constructor and Description |
|---|
ParentSet(SearchCompiler.Match child) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
(package private) java.util.List<OsmPrimitive> |
getPrimitives(OsmPrimitive root) |
int |
hashCode() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
match, testprivate final SearchCompiler.Match childCondition
ParentSet(SearchCompiler.Match child)
public boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to testjava.util.List<OsmPrimitive> getPrimitives(OsmPrimitive root)
getPrimitives in class ContextSwitchTemplate.ContextProviderpublic int hashCode()
hashCode in class ContextSwitchTemplate.ContextProviderpublic boolean equals(java.lang.Object obj)
equals in class ContextSwitchTemplate.ContextProvider