| Package | Description |
|---|---|
| org.chorem.pollen.votecounting | |
| org.chorem.pollen.votecounting.model |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ChoiceScore> |
AbstractVoteCountingStrategy.newEmptyChoiceScoreMap(Set<Voter> voters) |
| Modifier and Type | Method and Description |
|---|---|
protected VoteCountingResult |
AbstractVoteCountingStrategy.orderByValues(Collection<ChoiceScore> scores) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<ChoiceScore,Integer> |
ChoiceScore.SCORE_BY_ORDER |
static com.google.common.base.Function<ChoiceScore,BigDecimal> |
ChoiceScore.SCORE_BY_VALUE |
| Modifier and Type | Method and Description |
|---|---|
ChoiceScore |
VoteCountingResult.getScore(String choiceId) |
static ChoiceScore |
ChoiceScore.newScore(String choiceId,
BigDecimal scoreValue) |
| Modifier and Type | Method and Description |
|---|---|
List<ChoiceScore> |
VoteCountingResult.getScores() |
com.google.common.collect.ArrayListMultimap<Integer,ChoiceScore> |
VoteCountingResult.getScoresByRank() |
List<ChoiceScore> |
VoteCountingResult.getTopRanking() |
| Modifier and Type | Method and Description |
|---|---|
int |
ChoiceScore.compareTo(ChoiceScore o) |
| Modifier and Type | Method and Description |
|---|---|
static VoteCountingResult |
VoteCountingResult.newResult(List<ChoiceScore> scores) |
void |
VoteCountingResult.setScores(List<ChoiceScore> scores) |
Copyright © 2009–2013 CodeLutin. All rights reserved.