Here you can find the source of countMaxColumnSizeByArray(List
public static int countMaxColumnSizeByArray(List<String[]> csvs)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static int countMaxColumnSizeByArray(List<String[]> csvs) { int max = 0; for (String[] csv : csvs) { if (csv.length > max) { max = csv.length;//from www . j a v a 2 s. c o m } } return max; } }