Package com.jalios.jcms
Class EnumerateFormReport
- java.lang.Object
-
- com.jalios.jcms.EnumerateFormReport
-
public class EnumerateFormReport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EnumerateFormReport(ObjectIntTreeMap map, long sum)
-
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)
-
-
-
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
-
-