Here you can find the source of convertArrayToList(Object[] objects)
public static List convertArrayToList(Object[] objects)
//package com.java2s; //License from project: Apache License import java.util.ArrayList; import java.util.List; public class Main { public static List convertArrayToList(Object[] objects) { List rtnList = new ArrayList(); for (int i = 0; i < objects.length; i++) { rtnList.add(objects[i]);//from w w w .j a va2 s . c o m } return rtnList; } }