Whatever
 11.08.2016 10:08

Статьи How to join two string arrays in Java

Non-generics method to join two string arrays.
public String[] concat(String[] a, String[] b)
{
	int aLen = a.length;
	int bLen = b.length;
	String[] c = new String[aLen + bLen];
	System.arraycopy(a, 0, c, 0, aLen);
	System.arraycopy(b, 0, c, aLen, bLen);
	return c;
}
Found at stackoverflow.

Leave a Reply

*