Class Filter

    • Constructor Detail

      • Filter

        public Filter()
    • Method Detail

      • filter

        public static Filter filter​(Predicate predicate)
        Creates a new Filter based on given criteria
        Parameters:
        predicate - criteria
        Returns:
        a new Filter
      • filter

        public static Filter filter​(java.util.Collection<Predicate> predicates)
        Create a new Filter based on given list of criteria.
        Parameters:
        predicates - list of criteria all needs to evaluate to true
        Returns:
      • parse

        public static Filter parse​(java.lang.String filter)
        Parses a filter. The filter must match [?()], white spaces are ignored.
        Parameters:
        filter - filter string to parse
        Returns:
        the filter