Here you can find the source of sumList(int[] paramList)
public static Integer sumList(int[] paramList)
//package com.java2s; //License from project: Open Source License public class Main { public static Integer sumList(int[] paramList) { if (paramList == null || paramList.length == 0) return 0; Integer sum = 0;/* w w w .j a v a 2s .co m*/ for (Integer integer : paramList) { sum += integer; } return sum; } }