org.openstreetmap.josm.actions.search
Class SearchCompiler.NodeCountRange

java.lang.Object
  extended by org.openstreetmap.josm.actions.search.SearchCompiler.Match
      extended by org.openstreetmap.josm.actions.search.SearchCompiler.CountRange
          extended by org.openstreetmap.josm.actions.search.SearchCompiler.NodeCountRange
Enclosing class:
SearchCompiler

private static class SearchCompiler.NodeCountRange
extends SearchCompiler.CountRange

Matches ways with a number of nodes in given range


Constructor Summary
SearchCompiler.NodeCountRange(PushbackTokenizer.Range range)
           
SearchCompiler.NodeCountRange(PushbackTokenizer tokenizer)
           
 
Method Summary
protected  java.lang.Long getCount(OsmPrimitive osm)
           
protected  java.lang.String getCountString()
           
 
Methods inherited from class org.openstreetmap.josm.actions.search.SearchCompiler.CountRange
match, toString
 
Methods inherited from class org.openstreetmap.josm.actions.search.SearchCompiler.Match
existsMatch, forallMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchCompiler.NodeCountRange

public SearchCompiler.NodeCountRange(PushbackTokenizer.Range range)

SearchCompiler.NodeCountRange

public SearchCompiler.NodeCountRange(PushbackTokenizer tokenizer)
                              throws SearchCompiler.ParseError
Throws:
SearchCompiler.ParseError
Method Detail

getCount

protected java.lang.Long getCount(OsmPrimitive osm)
Specified by:
getCount in class SearchCompiler.CountRange

getCountString

protected java.lang.String getCountString()
Specified by:
getCountString in class SearchCompiler.CountRange


JOSM