I am getting an list as shown below
List<String> tr = newdatamap.get("B1").getRef();
List<String> tr2 = newdatamap.get("B1").getMS();
now as you can see that we have two arraylists but I want to store it contents into single a list itself. Something like that:
List<String> tr = newdatamap.get("B1").getTradeRef() + newdatamap.get("B1").getTMS();
but it is showing an error. Please advise how we can combine them into a single linked list.