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, test
protected 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.Match
match
in class SearchCompiler.Match
osm
- the primitive to testpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object