Class SearchCompiler.RangeMatch
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
org.openstreetmap.josm.data.osm.search.SearchCompiler.RangeMatch
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Direct Known Subclasses:
SearchCompiler.AreaSize,SearchCompiler.ChangesetId,SearchCompiler.Id,SearchCompiler.MemberCountRange,SearchCompiler.NodeCountRange,SearchCompiler.TagCountRange,SearchCompiler.TimestampRange,SearchCompiler.Version,SearchCompiler.WayCountRange,SearchCompiler.WayLength
- Enclosing class:
- SearchCompiler
Matches objects with properties in a certain range.
-
Field Details
-
min
-
max
-
-
Constructor Details
-
RangeMatch
RangeMatch(long min, long max) -
RangeMatch
-
-
Method Details
-
getNumber
-
getString
-
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
-
toString
-
hashCode
-
equals
-