Class SearchCompiler.BooleanMatch
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
org.openstreetmap.josm.data.osm.search.SearchCompiler.TaggedMatch
org.openstreetmap.josm.data.osm.search.SearchCompiler.BooleanMatch
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
Matches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.TaggedMatch
compilePattern, matchMethods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
test, validate
-
Field Details
-
key
-
defaultValue
-
-
Constructor Details
-
BooleanMatch
BooleanMatch(String key, boolean defaultValue)
-
-
Method Details
-
getKey
-
match
Description copied from class:SearchCompiler.MatchTests whether the tagged object matches this criterion.- Specified by:
matchin classSearchCompiler.TaggedMatch- Parameters:
osm- the tagged object to test- Returns:
- true if the tagged object matches this criterion
-
toString
-
hashCode
-
equals
-