Java Array Concatenate arrayConcatenate(String[] first, String[] second)

Here you can find the source of arrayConcatenate(String[] first, String[] second)

Description

array Concatenate

License

Apache License

Declaration

public static String[] arrayConcatenate(String[] first, String[] second) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String[] arrayConcatenate(String[] first, String[] second) {
        String[] ret = new String[first.length + second.length];

        System.arraycopy(first, 0, ret, 0, first.length);
        System.arraycopy(second, 0, ret, first.length, second.length);
        return ret;
    }//from w w  w.  j a  v  a2s.  c  o m
}

Related

  1. arrayConcat(String[] first, String second)
  2. arrayConcat(T[] a, T[] b)
  3. arrayConcat(T[] first, T[] second)
  4. arrayConcat(T[] first, T[] second)
  5. arrayConcatenate(final String[] f, final String[] s)
  6. arrayConcatInt(final int[] original, final int[] appender)
  7. concat(boolean[] a, boolean[] b)
  8. concat(boolean[]... arys)
  9. concat(byte[] a, byte[]... b)