Class EnumerateFormReport


  • public class EnumerateFormReport
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount​(java.lang.String key)  
      java.util.Set getKeySet()  
      double getPercent​(java.lang.String key)  
      double getRatio​(java.lang.String key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumerateFormReport

        public EnumerateFormReport​(ObjectIntTreeMap map,
                                   long sum)
    • Method Detail

      • getKeySet

        public java.util.Set getKeySet()
        Returns:
        the key set
        Since:
        jcms-4.0
      • getRatio

        public double getRatio​(java.lang.String key)
        Returns:
        the percent for the given key
        Since:
        jcms-4.0
      • getPercent

        public double getPercent​(java.lang.String key)
        Returns:
        the ratio for the given key
        Since:
        jcms-4.0
      • getCount

        public int getCount​(java.lang.String key)
        Returns:
        the count for the given key
        Since:
        jcms-4.0