private class ContextSwitchTemplate.ChildSet extends ContextSwitchTemplate.ContextProvider
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
parentCondition |
condition
Constructor and Description |
---|
ChildSet(SearchCompiler.Match parentCondition) |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.List<OsmPrimitive> |
getPrimitives(OsmPrimitive root) |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
evaluate, existsMatch, forallMatch, match
private final SearchCompiler.Match parentCondition
ChildSet(SearchCompiler.Match parentCondition)
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to testjava.util.List<OsmPrimitive> getPrimitives(OsmPrimitive root)
getPrimitives
in class ContextSwitchTemplate.ContextProvider