java8的lambda中,foreach()處理集合時不能使用break和continue這兩個方法,可使用return實現java
參考:https://blog.csdn.net/lmy86263/article/details/51057733.net