Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 97379 invoked from network); 29 Dec 2006 17:43:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2006 17:43:44 -0000 Received: (qmail 58231 invoked by uid 500); 29 Dec 2006 17:43:50 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 58165 invoked by uid 500); 29 Dec 2006 17:43:49 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 58153 invoked by uid 99); 29 Dec 2006 17:43:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 09:43:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 09:43:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FEEB714295 for ; Fri, 29 Dec 2006 09:43:22 -0800 (PST) Message-ID: <26866908.1167414202390.JavaMail.jira@brutus> Date: Fri, 29 Dec 2006 09:43:22 -0800 (PST) From: "Stephen Colebourne (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Reopened: (LANG-238) [lang] Add equals(type[]) to NumberUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/LANG-238?page=all ] Stephen Colebourne reopened LANG-238: ------------------------------------- These methods exist in the JDK in Arrays. We shouldn't duplicate that code unless we've got a good reason. > [lang] Add equals(type[]) to NumberUtils > ---------------------------------------- > > Key: LANG-238 > URL: http://issues.apache.org/jira/browse/LANG-238 > Project: Commons Lang > Issue Type: Improvement > Affects Versions: Nightly Builds > Environment: Operating System: other > Platform: Other > Reporter: Paul Benedict > Priority: Minor > Fix For: 2.3 > > > It would be useful to add an equals() method like the current min and max > methods which take an array type and determine if all the values are equal. > I have found myself in need of this often. I have to retrieve objects from > multiple data sources in parallel to build an array of complex object. To ensure > validity, I always compare that my sub-retrievals returned the same number of > objects as expected. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org