Concat the given iterables.

@param iterables the iterables.
@return the concat result.
554418
@SafeVarargs
	protected static Set<String> sortedConcat(Iterable<String>... iterables) {
		final Set<String> set = new TreeSet<>();
		for (final Iterable<String> iterable : iterables) {
			for (final String obj : iterable) {
				set.add(obj);
			}
		}
		return set;
	}
709408
@Beta
  @CheckReturnValue
  public final FluentIterable<E> append(E... elements) {
    return from(Iterables.concat(iterable, Arrays.asList(elements)));
  }
1172305
public static List<SoyValueProvider> concatLists(List<SoyList> args) {
    ImmutableList.Builder<SoyValueProvider> flattened = ImmutableList.builder();
    for (SoyList soyList : args) {
      flattened.addAll(soyList.asJavaList());
    }
    return flattened.build();
  }
1097821
public final <T2, T3> Tuple3<T1, T2, T3> concat(Tuple2<T2, T3> tuple) {
        return new Tuple3<>(v1, tuple.v1, tuple.v2);
    }
977126
public static <E> Iterable<E> concat(Iterable<E> a, Iterable<E> b) {
    List<E> result = new ArrayList<>();
    for (E e : a) {
      result.add(e);
    }
    for (E e : b) {
      result.add(e);
    }

    return result;
  }
957994
public OrderingList<S> concat(OrderingList<S> other) {
        if (size() == 0) {
            return other;
        }
        OrderingList<S> newList = this;
        if (other.size() > 0) {
            for (OrderedProperty<S> property : other) {
                newList = newList.concat(property);
            }
        }
        return newList;
    }
452047
public static <T> Iterator<T> concat(final Iterator<? extends T>... iterators) {
        return new ImmutableIterator<T>() {
            int current = 0;

            @Override
            public boolean hasNext() {
                advance();
                return current < iterators.length;
            }

            @Override
            public T next() {
                advance();
                try {
                    return iterators[current].next();
                } catch (ArrayIndexOutOfBoundsException e) {
                    throw new NoSuchElementException();
                }
            }

            private void advance() {
                while (current < iterators.length && !iterators[current].hasNext()) {
                    current++;
                }
            }
        };
    }
531297
@Nonnull
    public static <T> List<T> join(@Nonnull Collection<? extends T>... items) {
        int size = 0;
        for (Collection<? extends T> item : items)
            size += item.size();
        List<T> r = new ArrayList<>(size);
        for (Collection<? extends T> item : items)
            r.addAll(item);
        return r;
    }
252165
public static <T> Iterator<T> join(Collection<Iterable<T>> iterables) {
        Queue<Iterator<T>> iters = 
            new ArrayDeque<Iterator<T>>(iterables.size());
        for (Iterable<T> i : iterables)
            iters.add(i.iterator());
        return new CombinedIterator<T>(iters);
    }
429752
@Override
    public <R> Future<R> concatMap(final Function<? super T, ? extends Iterable<? extends R>> mapper) {
        return (Future<R>) MonadicValue.super.concatMap(mapper);
    }
695845
public static <T> String join(Iterable<T> iterable) {
        dbc.precondition(iterable != null, "cannot join a null iterable");
        return new JoinStrings<T>().apply(iterable.iterator());
    }
1311284
public static <T> Iterable<T> merge(Iterable<T>... iterables)
    {
        return merge(null, iterables);
    }
1282204
public static byte[] concat(final byte[]... arrays) {
    int len = 0;
    for (final byte[] arr : arrays) {
      len += arr.length;
    }

    final byte[] result = new byte[len];
    int pos = 0;
    for (final byte[] arr : arrays) {
      System.arraycopy(arr, 0, result, pos, arr.length);
      pos += arr.length;
    }
    return result;
  }
619603
public static <T> List<T> concat(final Collection<? extends T>... lists)
	{
		ArrayList<T> al = new ArrayList<T>();

		for (Collection<? extends T> list : lists)
			if (list != null)
				al.addAll(list);

		return al;
	}
653831
public static String join(String delimiter, Iterable<String> strings) {
    StringBuilder sb = new StringBuilder();
    for (String item : strings) {
      if (sb.length() > 0) sb.append(delimiter);
      sb.append(item);
    }
    return sb.toString();
  }
1181385
public static short[] concatArrays(short[] array, short[]... arrays) {
        short[] res = array;
        for (short[] ele : arrays) {
            res = org.apache.commons.lang3.ArrayUtils.addAll(res, ele);
        }
        return res;
    }
24948
public static <T> Iterable<T> merge(Comparator<T> comp, Iterable<T>... iterables)
    {
        Iterator[] arr = new Iterator[iterables.length];
        for (int ii=0;ii<arr.length;ii++)
        {
            arr[ii] = iterables[ii].iterator();
        }
        return iterable(merge(comp, arr));
    }