private abstract static class SearchCompiler.InArea extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
protected boolean |
all |
Constructor and Description |
---|
InArea(boolean all) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Collection<Bounds> |
getBounds() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
evaluate, existsMatch, forallMatch, match
protected final boolean all
InArea(boolean all)
all
- if true, all way nodes or relation members have to be within source area;if false, one suffices.public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to test