the rest descritpion of tthe main classhere is the image for the class descriptionI have an entity Customers with cid,cname and aid and another entity Address with aid, city and state.
I have taken data of both the entities in two different lists -list and list . i want a result list (left join on both customer and address)that contains data from both the lists using java stream api or any other feature of java 8. and further what should be the type of result list.?
is it possible to do so.?
please help.
Thanks in advance.
public class Customers {
private Integer cid;
private String name;
private Integer aid;
// getters and setters
// tostring()
// constructors with and without params
public class Address {
private Integer aid;
private String city;
private S