org.chorem.pollen.votecounting.business
Class StandardMethod
java.lang.Object
org.chorem.pollen.votecounting.business.StandardMethod
- All Implemented Interfaces:
- Method
- Direct Known Subclasses:
- PercentageMethod
public class StandardMethod
- extends java.lang.Object
- implements Method
Méthode de dépouillement standard.
- Version:
- $Id: StandardMethod.java 2615 2009-07-01 13:47:45Z nrannou $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardMethod
public StandardMethod()
executeMethod
public void executeMethod(java.util.List<Choice> choices,
boolean byGroup)
- Specified by:
executeMethod in interface Method
calculateGroups
public void calculateGroups(java.util.List<Choice> choices)
getValueForGroup
public void getValueForGroup(Group group)
calculateChoicesByGroup
public void calculateChoicesByGroup(java.util.List<Choice> choices)
getChoosenChoicesByGroup
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getChoosenChoicesByGroup(java.util.List<Choice> choices)
getValueForChoiceByGroup
public double getValueForChoiceByGroup(Choice choice,
java.lang.String idGroup,
java.util.List<java.lang.String> choicesId)
Copyright © 2009 CodeLutin. All Rights Reserved.