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:
java.util.function.Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
private static class SearchCompiler.TimestampRange extends SearchCompiler.RangeMatch
Matches objects with a timestamp in given range
-
-
Constructor Summary
Constructors Constructor Description TimestampRange(long minCount, long maxCount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static SearchCompiler.TimestampRange
create(java.lang.String[] range)
protected java.lang.Long
getNumber(OsmPrimitive osm)
protected java.lang.String
getString()
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.RangeMatch
equals, hashCode, match, toString
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
-
-
-
Constructor Detail
-
TimestampRange
TimestampRange(long minCount, long maxCount)
-
-
Method Detail
-
create
private static SearchCompiler.TimestampRange create(java.lang.String[] range) throws SearchParseError
- Throws:
SearchParseError
-
getNumber
protected java.lang.Long getNumber(OsmPrimitive osm)
- Specified by:
getNumber
in classSearchCompiler.RangeMatch
-
getString
protected java.lang.String getString()
- Specified by:
getString
in classSearchCompiler.RangeMatch
-
-