public abstract static class SearchCompiler.Match extends java.lang.Object implements java.util.function.Predicate<OsmPrimitive>
SearchCompiler.TaggedMatch
.Constructor and Description |
---|
Match() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
boolean |
match(Tagged tagged)
Tests whether the tagged object matches this criterion.
|
boolean |
test(OsmPrimitive object) |
public Match()
public abstract boolean match(OsmPrimitive osm)
osm
- the primitive to testpublic boolean match(Tagged tagged)
tagged
- the tagged object to testpublic final boolean test(OsmPrimitive object)
test
in interface java.util.function.Predicate<OsmPrimitive>