Here you can find the source of sum(int[] values)
Parameter | Description |
---|---|
values | an argument. Assume values.length > 0. |
public static long sum(int[] values)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w . ja v a2s. c o m*/ * Returns the sum of all {@code int} values. * * @param values an argument. Assume values.length > 0. * @return the sum of all values. */ public static long sum(int[] values) { throw new UnsupportedOperationException(); } }