public abstract static class SearchCompiler.InArea extends SearchCompiler.Match
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
all |
| Modifier | Constructor and Description |
|---|---|
protected |
InArea(boolean all) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected abstract java.util.Collection<Bounds> |
getBounds(OsmPrimitive primitive) |
int |
hashCode() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
match, testprotected final boolean all
protected InArea(boolean all)
all - if true, all way nodes or relation members have to be within source area;if false, one suffices.protected abstract java.util.Collection<Bounds> getBounds(OsmPrimitive primitive)
public boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to testpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object