Class EnumerateFormReport


  • public class EnumerateFormReport
    extends java.lang.Object
    • 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