Class SearchCompiler.HasRole
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
org.openstreetmap.josm.data.osm.search.SearchCompiler.HasRole
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
Matches relations with a member of the given role
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanmatch(OsmPrimitive osm) Tests whether the primitive matches this criterion.Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
Field Details
-
role
-
-
Constructor Details
-
HasRole
HasRole(PushbackTokenizer tokenizer)
-
-
Method Details
-
match
Description copied from class:SearchCompiler.MatchTests whether the primitive matches this criterion.- Specified by:
matchin classSearchCompiler.Match- Parameters:
osm- the primitive to test- Returns:
- true if the primitive matches this criterion
-
hashCode
-
equals
-