org.openstreetmap.josm.actions.search
Class SearchCompiler.CountRange
java.lang.Object
org.openstreetmap.josm.actions.search.SearchCompiler.Match
org.openstreetmap.josm.actions.search.SearchCompiler.CountRange
- Direct Known Subclasses:
- SearchCompiler.AreaSize, SearchCompiler.NodeCountRange, SearchCompiler.TagCountRange, SearchCompiler.TimestampRange
- Enclosing class:
- SearchCompiler
private abstract static class SearchCompiler.CountRange
- extends SearchCompiler.Match
Matches objects with properties in a certain range.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
minCount
private long minCount
maxCount
private long maxCount
SearchCompiler.CountRange
public SearchCompiler.CountRange(long minCount,
long maxCount)
SearchCompiler.CountRange
public SearchCompiler.CountRange(PushbackTokenizer.Range range)
getCount
protected abstract java.lang.Long getCount(OsmPrimitive osm)
getCountString
protected abstract java.lang.String getCountString()
match
public boolean match(OsmPrimitive osm)
- Specified by:
match
in class SearchCompiler.Match
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
JOSM