Here you can find the source of sumLong(int[] array)
public static long sumLong(int[] array)
//package com.java2s; //License from project: Apache License public class Main { public static long sumLong(int[] array) { long sum = 0; for (int e : array) { sum += e;/* ww w . ja v a 2s . c om*/ } return sum; } }