java8的lambda中,foreach()处理集合时不能使用break和continue这两个方法,可使用return实现java
参考:https://blog.csdn.net/lmy86263/article/details/51057733.net