Prepare new list based on conditions from two object lists using stream
I am working in spring boot application, working with lists. I have these classes : public class MyModel { private String pptId; private String pptTitle; private String modelNumber; } public class FullData { private String pptTitle; private String modelNumber; private String pptDetails; private String price; ............... .............. } List sourceModelList = This is full list MyModel(1,'ppt1','a1') MyModel(1,'ppt1','a2') MyModel(2,'ppt2','a1') MyModel(2,'ppt2','a3') MyModel(2,'ppt2','a4') MyModel(3,'ppt3','a1') MyModel(3,'ppt3','a3') MyModel(3,'ppt3','a5') I have filtered FullData list but that is filtered from some processing List filteredFullDataList = it is unique list FullData(null,'a1','pptDetails1','300') FullData(null,,'a2','pptDetails21','70') FullData(nu...