public static < E > List < E > buildMergedList ( Collection < E > collection1 , Collection < E > collection2 ) { List < E > mergedList = new ArrayList <> ( collection1 ) ; mergedList . addAll ( collection2 ) ; return mergedList ; }
Build merged list list .