private static class SearchCompiler.Preset extends SearchCompiler.Match
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<TaggingPreset> |
presets |
| Constructor and Description |
|---|
Preset(java.lang.String presetName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
private static boolean |
presetNameMatch(java.lang.String name,
TaggingPreset preset,
boolean matchStrictly) |
match, testprivate final java.util.List<TaggingPreset> presets
Preset(java.lang.String presetName) throws SearchParseError
SearchParseErrorpublic boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to testprivate static boolean presetNameMatch(java.lang.String name, TaggingPreset preset, boolean matchStrictly)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object