boolean anyMatch = list.stream().anyMatch(x -> x > 6);
System.out.println("大于6的值:" +...Person::getSalary));
System.out.println("员工工资最大值:" + max.get().getSalary());
// 计算工资大于..., 22, "男", "四川"));
personList.add(new Person("孙七", 5000, 25, "女", "上海"));
// 工资大于3000..."男", "合肥"));
personList.add(new Person("孙七", 9860, 25, "女", "上海"));
// 每个员工减去起征点后的薪资之和..., j) -> (i + j - 5000));
System.out.println("员工扣税薪资总和:" + sum);
// stream的reduce