public class VoteCountingResult extends Object implements Serializable
| Constructor and Description |
|---|
VoteCountingResult() |
| Modifier and Type | Method and Description |
|---|---|
ChoiceScore |
getScore(String choiceId) |
List<ChoiceScore> |
getScores() |
com.google.common.collect.ArrayListMultimap<Integer,ChoiceScore> |
getScoresByRank() |
List<ChoiceScore> |
getTopRanking() |
static VoteCountingResult |
newResult(List<ChoiceScore> scores) |
void |
setScores(List<ChoiceScore> scores) |
public static VoteCountingResult newResult(List<ChoiceScore> scores)
public List<ChoiceScore> getScores()
public ChoiceScore getScore(String choiceId)
public void setScores(List<ChoiceScore> scores)
public List<ChoiceScore> getTopRanking()
public com.google.common.collect.ArrayListMultimap<Integer,ChoiceScore> getScoresByRank()
Copyright © 2009–2013 CodeLutin. All rights reserved.