Class SearchCompiler.TimestampRange
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
org.openstreetmap.josm.data.osm.search.SearchCompiler.RangeMatch
org.openstreetmap.josm.data.osm.search.SearchCompiler.TimestampRange
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
Matches objects with a timestamp in given range
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static SearchCompiler.TimestampRangeprotected LonggetNumber(OsmPrimitive osm) protected StringMethods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.RangeMatch
equals, hashCode, match, toStringMethods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
Constructor Details
-
TimestampRange
TimestampRange(long minCount, long maxCount)
-
-
Method Details
-
create
- Throws:
SearchParseError
-
getNumber
- Specified by:
getNumberin classSearchCompiler.RangeMatch
-
getString
- Specified by:
getStringin classSearchCompiler.RangeMatch
-