code: public static <E> List<E> buildMergedList(
              Collection<E> collection1, Collection<E> collection2) {
          List<E> mergedList = new ArrayList<>(collection1);
          mergedList.addAll(collection2);
          return mergedList;
      }
docs: Build merged list list.
  
  @param <E>         the type parameter
  @param collection1 the collection 1
  @param collection2 the collection 2
  @return the list