code: public static <T> Collection<T> addAll(Collection<T> list, T... array)
      {
          for (T item : array)
          {
              list.add(item);
          }
          return list;
      }
docs: Adds array members to list
  @param <T>
  @param list
  @param array