Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 20210 invoked from network); 15 Apr 2009 01:09:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2009 01:09:36 -0000 Received: (qmail 31627 invoked by uid 500); 15 Apr 2009 01:09:36 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 31508 invoked by uid 500); 15 Apr 2009 01:09:35 -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 31498 invoked by uid 99); 15 Apr 2009 01:09:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 01:09:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 01:09:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D8544234C003 for ; Tue, 14 Apr 2009 18:09:14 -0700 (PDT) Message-ID: <1864998167.1239757754871.JavaMail.jira@brutus> Date: Tue, 14 Apr 2009 18:09:14 -0700 (PDT) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (MATH-261) Add generics to Frequency In-Reply-To: <1196841425.1239732915213.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699010#action_12699010 ] Phil Steitz commented on MATH-261: ---------------------------------- I like - and use - the current behavior of being able to add ints, longs and have frequency distributions computed directly. I am -0 on the patch, but not -1 if it can be done with backward compatibility and no impact to performance. > Add generics to Frequency > ------------------------- > > Key: MATH-261 > URL: https://issues.apache.org/jira/browse/MATH-261 > Project: Commons Math > Issue Type: Improvement > Reporter: Sebb > Fix For: 2.0 > > Attachments: Frequency.patch > > > I've attempted to add generics to Frequency. > This requires a minor change to the API, in that Objects to be used with the class need to be Comparable. > This will break some code, e.g. one change was needed to the test cases. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.