Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCB7DF3D8 for ; Mon, 2 Sep 2013 04:03:54 +0000 (UTC) Received: (qmail 82772 invoked by uid 500); 2 Sep 2013 04:03:53 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 82702 invoked by uid 500); 2 Sep 2013 04:03:52 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 82687 invoked by uid 99); 2 Sep 2013 04:03:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 04:03:52 +0000 Date: Mon, 2 Sep 2013 04:03:52 +0000 (UTC) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-912) MathUtils.sum() method to add together a bunch of numbers. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755894#comment-13755894 ] Henri Yandell commented on LANG-912: ------------------------------------ Add sum() and you have to support N other operations, including averages. > MathUtils.sum() method to add together a bunch of numbers. > ---------------------------------------------------------- > > Key: LANG-912 > URL: https://issues.apache.org/jira/browse/LANG-912 > Project: Commons Lang > Issue Type: New Feature > Components: lang.math.* > Affects Versions: 3.1 > Environment: Any > Reporter: Matt Bishop > Priority: Minor > Fix For: 3.2 > > > I find myself doing sums frequently with a variety of numbers. It would be nice if MathUtils had a method like this: > int add(int... numbers); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira