commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1227) Add an name String ivar to SummaryStatistics
Date Thu, 21 May 2015 22:30:17 GMT

    [ 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<String, SummaryStatistics>}}?
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)

Mime
View raw message