public abstract static class SearchCompiler.Match extends java.lang.Object implements Predicate<OsmPrimitive>
| Constructor and Description |
|---|
Match() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(OsmPrimitive object)
Determines whether the object passes the test or not
|
protected boolean |
existsMatch(java.util.Collection<? extends OsmPrimitive> primitives)
Tests whether one of the primitives matches.
|
protected boolean |
forallMatch(java.util.Collection<? extends OsmPrimitive> primitives)
Tests whether all primitives match.
|
abstract boolean |
match(OsmPrimitive osm) |
public Match()
public abstract boolean match(OsmPrimitive osm)
protected boolean existsMatch(java.util.Collection<? extends OsmPrimitive> primitives)
protected boolean forallMatch(java.util.Collection<? extends OsmPrimitive> primitives)
public final boolean evaluate(OsmPrimitive object)
Predicateevaluate in interface Predicate<OsmPrimitive>object - The object to evaluatetrue if the object passes the test, false otherwise