public List<Customer> getCustomers1(){ return this.customers .stream() .filter(c -> c.getPoints() > 100) .collect(Collectors.toList()); }
public List<Customer> getCustomers1(){ return this.customers .stream() .filter(c -> c.getPoints() > 100) .collect(Collectors.toList()); }