public class Customer {
    private String name;
    private int points;
  
    public boolean hasOverHundredPoints() {
        return this.points > 100;
    }
}
 
public class Customers {

    public List<Customer> getCustomers(){
        return this.customers
        .stream()
        .filter(Customer::hasOverHundredPoints)
        .collect(Collectors.toList());

    }
}