4 lines
171 B
Java
4 lines
171 B
Java
Collection list1, list2, list1And2;
|
|
//...list1 and list2 are instantiated...
|
|
list1And2 = new ArrayList(list1); //or any other Collection you want
|
|
list1And2.addAll(list2);
|