public class StandardMethod extends Object implements Method
| Constructor and Description |
|---|
StandardMethod() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChoicesByGroup(List<Choice> choices) |
void |
calculateGroups(List<Choice> choices) |
void |
executeCounting(List<Choice> choices,
boolean byGroup)
Execute le dépouillement de l'ensemble des choix spécifiés.
|
void |
executeStats(List<Choice> choices,
boolean groupCounting,
Choice choice,
ChoiceDTO choiceDTO)
Effectue des statistiques sur le
choice specifié. |
Map<String,List<String>> |
getChoosenChoicesByGroup(List<Choice> choices) |
double |
getValueForChoiceByGroup(Choice choice,
String idGroup,
List<String> choicesId) |
void |
getValueForGroup(Group group) |
public void executeCounting(List<Choice> choices, boolean byGroup)
MethodexecuteCounting in interface Methodchoices - l'ensemble des choix à dépouillerbyGroup - si le dépouillement doit être groupépublic void getValueForGroup(Group group)
public Map<String,List<String>> getChoosenChoicesByGroup(List<Choice> choices)
public double getValueForChoiceByGroup(Choice choice, String idGroup, List<String> choicesId)
public void executeStats(List<Choice> choices, boolean groupCounting, Choice choice, ChoiceDTO choiceDTO)
Methodchoice specifié.
La fonction executeCounting doit avoir été
executée avant d'appeler cette fonction.executeStats in interface Methodchoices - l'ensemble des choix du dépouillementgroupCounting - si le dépouillement doit être groupéchoice - le choix sur lequel effectuer des statistiqueschoiceDTO - le choix contenant les resultats statistiquesCopyright © 2009-2012 CodeLutin. All Rights Reserved.