List of utility methods to do Array Concatenate
float[][] | concatenate(float[][] a, float[][] b, int dim) concatenate float[][] out = null; if (dim == 0) { if (a[0].length != b[0].length) { System.out.println("number of columns of inputs are not the identical"); return null; out = new float[a.length + b.length][a[0].length]; int k = 0; ... |
int[] | concatenate(int[]... arrays) Concatenates a series of arrays. List<Integer> list = new LinkedList<Integer>(); for (int[] array : arrays) list.addAll(toList(array)); return toArray(list); |
String | concatenate(Object[] array) Joins the provided elements into a single String. return join(array, null);
|
String | concatenate(Object[] array) concatenate return join(array, null);
|
String | concatenate(Object[] array) Concatenates elements of an array into a single string. return join(array, ""); |
String | concatenate(Object[] array) Concatenates elements of an array into a single String. return join(array, null);
|
String | concatenate(Object[] collection) concatenate return concatenate(Arrays.asList(collection), ","); |
String | concatenate(String[] args) Returns the list of arguments as space separated string for the command line. if (args == null) { return null; String quote = getQuoteType(); String result = ""; for (String arg : args) { if (!result.equals("")) { result += " "; ... |
String | concatenate(String[] strings, String sep) Concatenate an array of strings. return concatenate(Arrays.asList(strings), sep);
|
T[] | concatenate(T[] first, T[] second) Concatenates two arrays and returns the result T[] result = Arrays.copyOf(first, first.length + second.length);
System.arraycopy(second, 0, result, first.length, second.length);
return result;
|