list中有个方法stream可以把list转换为stream。然后stream里面有个方法是filter Predicaate是有个函数式的接口,主要用于判断 forEach也是一个函数式的接口 相关文章: 2021-06-17 2021-08-14 2021-06-15 2021-09-22 2021-11-30 2021-10-16 2021-10-15 2021-05-29