Class TagFilterEqualsAnyOf

    • Method Detail

      • applyOSM

        public boolean applyOSM​(OSMEntity e)
        Description copied from interface: FilterExpression
        Apply the filter to an OSM entity.
        Parameters:
        e - the OSM entity to check.
        Returns:
        true if the entity fulfills the specified filter, otherwise false.
      • applyOSH

        public boolean applyOSH​(OSHEntity e)
        Description copied from interface: FilterExpression
        Apply the filter to an OSH entity.

        Must be compatible with the result of FilterExpression.applyOSM(org.heigit.ohsome.oshdb.osm.OSMEntity), e.g. that it must not return false when oshEntity.getVersions().….anyMatch(applyOSM) would evaluate to true.

        Parameters:
        e - the OSH entity to check.
        Returns:
        false if the filter knows that none of the versions of the OSH entity can fulfill the specified filter, true otherwise.
      • negate

        public FilterExpression negate()
        Description copied from interface: FilterExpression
        Returns the opposite of the current filter expression.
        Returns:
        the opposite of the current filter expression.