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

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

public static class SearchCompiler.Or
extends SearchCompiler.BinaryMatch

Matches if the left OR the right expression match.


Field Summary
 
Fields inherited from class org.openstreetmap.josm.actions.search.SearchCompiler.BinaryMatch
lhs, rhs
 
Constructor Summary
SearchCompiler.Or(SearchCompiler.Match lhs, SearchCompiler.Match rhs)
           
 
Method Summary
 boolean match(OsmPrimitive osm)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openstreetmap.josm.actions.search.SearchCompiler.BinaryMatch
getLhs, getRhs
 
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.Or

public SearchCompiler.Or(SearchCompiler.Match lhs,
                         SearchCompiler.Match rhs)
Method Detail

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