title: Filtering List using Java8 streams
body: <p>I have a list of customers object as follow :</p>
  
  <pre><code>import java.util.Arrays;
  import java.util.List;
  import java.util.stream.Collectors;
  
  public class CheckForResource {
  
      public static void main(String[] args) {
          Customer john = new Customer("111", "P_1", "daily",
                  "create", "table_1", "03-05-2020",
                  "03-05-2020", "140");
  
          Customer mary = new Customer("111", "P_1", "daily",
                  "delete", "table_1", "03-05-2020",
                  "03-05-2020", "30");
  
          Customer joseph = new Customer("222", "P_2", "weekly",
                  "create", "table_2", "03-05-2020",
                  "03-05-2020", "50");
  
          Customer jason = new Customer("222", "P_2", "daily",
                  "update", "table_2", "03-05-2020",
                  "03-05-2020", "40");
  
          Customer mario = new Customer("111", "P_1", "weekly",
                  "create", "table_1", "03-05-2020",
                  "03-05-2020", "20");
  
          Customer danny = new Customer("111", "P_1", "monthly",
                  "update", "table_1", "03-05-2020",
                  "03-05-2020", "100");
  
          List&lt;CheckForResource.Customer&gt; customers = Arrays.asList(john, mary, joseph, jason, mario, danny);
  
      }
  
  
      public static class Customer {
  
          final String Id;
          final String pCode;
          final String usageType;
          final String operation;
          final String resource; 
          final String startTime;
          final String endTime;
          final String value;
  
          public Customer(String id, String pCode, String usageType, String operation,
                          String resource, String startTime, String endTime, String value) {
              Id = id;
              this.pCode = pCode;
              this.usageType = usageType;
              this.operation = operation;
              this.resource = resource;
              this.startTime = startTime;
              this.endTime = endTime;
              this.value = value;
          }
      }
  }
  </code></pre>
  
  <p>I want to return true if the list has atLeast 1  entry of each of the following clause</p>
  
  <ol>
  <li>customerId="111", operation="create", usageType= "daily"</li>
  <li>customerId="111", operation="create", usageType= "monthly"</li>
  <li>customerId="111", operation="delete", usageType= "daily"</li>
  <li>customerId="111", operation="delete", usageType= "monthly"</li>
  <li>customerId="111", operation="update", usageType= "daily"</li>
  <li>customerId="111", operation="update", usageType= "monthly"</li>
  </ol>
  
  <p>How can I achieve this using steams ?</p>