I've an Arraylist variable
ArrayList<ArrayList<String>> nodes = new ArrayList<ArrayList<String>>();
And
ArrayList<String> split;
Then i used nodes.add(split);
And I've a result of ArrayList like this
[[hasAttribute, hasPart, has_RP-09, has_RP-10], [hasAttribute, hasPart, has_RP-03, has_RP-06]]
How to combine that to be a result like this
[hasAttribute, hasPart, has_RP-09, has_RP-10, has_RP-03, has_RP-06]
Thank you guys for the answer.