Java String Array Combine combineArray(String[] a, String[] b)

Here you can find the source of combineArray(String[] a, String[] b)

Description

combine Array

License

Apache License

Declaration

public static String[] combineArray(String[] a, String[] b) 

Method Source Code

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

public class Main {

    public static String[] combineArray(String[] a, String[] b) {
        String[] c = new String[a.length + b.length];
        System.arraycopy(a, 0, c, 0, a.length);
        System.arraycopy(b, 0, c, a.length, b.length);
        return c;
    }/*from   w  w w . j  av a  2  s  .co m*/
}

Related

  1. combine(String[] values, String delimiter)
  2. combine(String[] values, String regex)
  3. combine(String[] values, String separator)
  4. combine(String[] words)
  5. combineArray(String separator, String... stringArray)
  6. combineArray(String[] args)
  7. combineArray(String[] array, int offset)
  8. combineArray(String[] str, int start, int end)
  9. combineArrays(String[] array1, String[] array2)