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 C386A18BA8 for ; Thu, 21 May 2015 22:30:17 +0000 (UTC) Received: (qmail 43106 invoked by uid 500); 21 May 2015 22:30:17 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 43015 invoked by uid 500); 21 May 2015 22:30:17 -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 42878 invoked by uid 99); 21 May 2015 22:30:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2015 22:30:17 +0000 Date: Thu, 21 May 2015 22:30:17 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1227) Add an name String ivar to SummaryStatistics 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/MATH-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555166#comment-14555166 ] Gilles commented on MATH-1227: ------------------------------ A priori, I don't think that it is a good idea to have an identifier inside CM classes: the same request could soon apply to many other objects... (IIUC) Can't you store the bunch in a {{Map}}? But maybe there is some reason I can't figure out. Could you give more details about the use cases, so that we can consider what alternatives would provide the needed functionality? > Add an name String ivar to SummaryStatistics > -------------------------------------------- > > Key: MATH-1227 > URL: https://issues.apache.org/jira/browse/MATH-1227 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 3.5 > Environment: Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00) > Maven home: C:\Java\apache-maven-3.3.3 > Java version: 1.7.0_79, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_79\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Gary Gregory > > I have a bunch of {{SummaryStatistics}} that I'd like to {{toString()}} in a report. Adding a String name ivar would let me name each {{SummaryStatistics}} object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)