public static class SearchCompiler.ValueComparison extends SearchCompiler.TaggedMatch
| Modifier and Type | Field and Description |
|---|---|
private int |
compareMode |
private static Pattern |
ISO8601 |
private String |
key |
private Double |
referenceNumber |
private String |
referenceValue |
| Constructor and Description |
|---|
ValueComparison(String key,
String referenceValue,
int compareMode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
String |
toString() |
matchevaluate, existsMatch, forallMatchprivate final String referenceValue
private final Double referenceNumber
private final int compareMode
public ValueComparison(String key, String referenceValue, int compareMode)
public boolean match(Tagged osm)
SearchCompiler.Matchmatch in class SearchCompiler.TaggedMatchosm - the tagged object to test