#java##stream##reduce#
裁减计算
视频讲解: https://www.bilibili.com/video/av77715582/
![636ee04bdd97ded83333bfc96c22376c.png](https://i-blog.csdnimg.cn/blog_migrate/51cb800b390f4ce61ad1ad5fb8e706ce.jpeg)
EmployeeTest.java`
package
BaseTestCase.java`
package com.example.demo;
import java.util.Arrays;
import java.util.List;
public class BaseTestCase {
protected static final List<Employee> list = Arrays.asList(
new Employee(1, "Alex", 1000),
new Employee(2, "Michael", 2000),
new Employee(3, "Jack", 1500),
new Employee(4, "Owen", 1500),
new Employee(5, "Denny", 2000));
}
关注公众号,坚持每天3分钟视频学习
![37dcef72d721e46c12f1f105757de8ca.png](https://i-blog.csdnimg.cn/blog_migrate/6eaeb810236c364d83c018f146f0bd31.jpeg)