Class SearchCompiler.Always
- 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.Always
-
- All Implemented Interfaces:
java.util.function.Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
public static class SearchCompiler.Always extends SearchCompiler.TaggedMatch
Matches every OsmPrimitive.
-
-
Field Summary
Fields Modifier and Type Field Description static SearchCompiler.AlwaysINSTANCEThe unique instance/
-
Constructor Summary
Constructors Constructor Description Always()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(Tagged osm)Tests whether the tagged object matches this criterion.-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.TaggedMatch
compilePattern, match
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
test, validate
-
-
-
-
Field Detail
-
INSTANCE
public static final SearchCompiler.Always INSTANCE
The unique instance/
-
-
Constructor Detail
-
Always
public Always()
-
-
Method Detail
-
match
public boolean match(Tagged osm)
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
-
-