Interface ProductFilter


  • public interface ProductFilter
    A filter for products.
    • Field Detail

      • ALL

        static final ProductFilter ALL
        A filter that accepts all products (does not filter at all).
    • Method Detail

      • accept

        boolean accept​(Product product)
        Parameters:
        product - The product.
        Returns:
        true, if the given product is accepted by this filter.