com.jalios.jcms
Class EnumerateFormReport

java.lang.Object
  extended by com.jalios.jcms.EnumerateFormReport

public class EnumerateFormReport
extends Object


Field Summary
static String REVISION
           
 
Constructor Summary
EnumerateFormReport(ObjectIntTreeMap map, long sum)
           
 
Method Summary
 int getCount(String key)
           
 Set getKeySet()
           
 double getPercent(String key)
           
 double getRatio(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

EnumerateFormReport

public EnumerateFormReport(ObjectIntTreeMap map,
                           long sum)
Method Detail

getKeySet

public Set getKeySet()
Returns:
the key set
Since:
jcms-4.0

getRatio

public double getRatio(String key)
Returns:
the percent for the given key
Since:
jcms-4.0

getPercent

public double getPercent(String key)
Returns:
the ratio for the given key
Since:
jcms-4.0

getCount

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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.