private static class ContextSwitchTemplate.AndSet extends ContextSwitchTemplate.ContextProvider
| Modifier and Type | Field and Description |
|---|---|
private ContextSwitchTemplate.ContextProvider |
lhs |
private ContextSwitchTemplate.ContextProvider |
rhs |
condition| Constructor and Description |
|---|
AndSet(ContextSwitchTemplate.ContextProvider lhs,
ContextSwitchTemplate.ContextProvider rhs) |
| 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.
|
match, testprivate final ContextSwitchTemplate.ContextProvider lhs
private final ContextSwitchTemplate.ContextProvider rhs
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.ContextProvider