Class SearchCompiler.NotOutsideDataSourceArea
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.InArea
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.InDataSourceArea
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.NotOutsideDataSourceArea
-
- All Implemented Interfaces:
java.util.function.Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
public static class SearchCompiler.NotOutsideDataSourceArea extends SearchCompiler.InDataSourceArea
Matches objects which are not outside the source area ("downloaded area"). UnlikeSearchCompiler.InDataSourceArea
, this matches also if no source area is set (e.g., for new layers).
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.InArea
all
-
-
Constructor Summary
Constructors Constructor Description NotOutsideDataSourceArea()
Constructs a newNotOutsideDataSourceArea
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Collection<Bounds>
getBounds(OsmPrimitive primitive)
java.lang.String
toString()
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.InArea
equals, hashCode, match
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
-
-
-
Constructor Detail
-
NotOutsideDataSourceArea
public NotOutsideDataSourceArea()
Constructs a newNotOutsideDataSourceArea
.
-
-
Method Detail
-
getBounds
protected java.util.Collection<Bounds> getBounds(OsmPrimitive primitive)
- Overrides:
getBounds
in classSearchCompiler.InDataSourceArea
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSearchCompiler.InDataSourceArea
-
-