Class SearchCompiler.Selected
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Selected
-
- All Implemented Interfaces:
java.util.function.Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
private static final class SearchCompiler.Selected extends SearchCompiler.Match
Matches all objects currently selected
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSelected()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(OsmPrimitive osm)Tests whether the primitive matches this criterion.java.lang.StringtoString()-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
-
-
-
Constructor Detail
-
Selected
private Selected()
-
-
Method Detail
-
match
public boolean match(OsmPrimitive osm)
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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-