Java tutorial
//package com.java2s; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Main { public static List<Object> combineArrays(Object[]... objects) { List<Object> list = new ArrayList<Object>(); for (int i = 0; i < objects.length; i++) { list.addAll(Arrays.asList(objects[i])); } return list; } }