Class SearchCompiler.Match

    • Constructor Summary

      Constructors 
      Constructor Description
      Match()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract boolean match​(OsmPrimitive osm)
      Tests whether the primitive matches this criterion.
      boolean match​(Tagged tagged)
      Tests whether the tagged object matches this criterion.
      boolean test​(OsmPrimitive object)  
      SearchCompiler.Match validate()
      Check if this is a valid match object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

    • Method Detail

      • match

        public abstract boolean match​(OsmPrimitive osm)
        Tests whether the primitive matches this criterion.
        Parameters:
        osm - the primitive to test
        Returns:
        true if the primitive matches this criterion
      • match

        public boolean match​(Tagged tagged)
        Tests whether the tagged object matches this criterion.
        Parameters:
        tagged - the tagged object to test
        Returns:
        true if the tagged object matches this criterion