Print average of specific field of arraylist, but filter by another field

后端 未结 0 434
北荒
北荒 2020-12-19 07:08

So I have a class car, with size and length variables. I have created an arraylist for storing the car objects. I would like to use a java stream to filter the list by size

相关标签:
回答
  • 消灭零回复
提交回复
热议问题