commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Meyer (JIRA)" <>
Subject [jira] Created: (MATH-448) Frequency get number of unique values
Date Wed, 01 Dec 2010 15:12:11 GMT
Frequency get number of unique values

                 Key: MATH-448
             Project: Commons Math
          Issue Type: New Feature
            Reporter: Patrick Meyer
            Priority: Minor

It is often useful to know the number of unique elements in a frequency table. Could you add
a simple method that returns the size of freqTable. It seems like it would be as simple as:

public int getUniqueCount(){
     return freqTable.size();

Given that freqTable is private, there is no way to extend the class and add this method.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message