Here you can find the source of getArrayListForArray(Object[] rowData)
private static List<Object> getArrayListForArray(Object[] rowData)
//package com.java2s; //License from project: Apache License import java.util.ArrayList; import java.util.List; public class Main { private static List<Object> getArrayListForArray(Object[] rowData) { ArrayList<Object> res = new ArrayList<Object>(); for (int n = 0; n < rowData.length; n++) { res.add(rowData[n]);/*from w w w .j a v a 2 s. co m*/ } return res; } }