| Package | Description |
|---|---|
| org.chorem.pollen.votecounting | |
| org.chorem.pollen.votecounting.model |
| Modifier and Type | Field and Description |
|---|---|
protected Comparator<VoteForChoice> |
AbstractVoteCountingStrategy.voteValueComparator |
| Modifier and Type | Method and Description |
|---|---|
List<Set<String>> |
AbstractVoteCountingStrategy.sortVoteForChoices(Set<VoteForChoice> voteForChoices) |
| Modifier and Type | Method and Description |
|---|---|
static VoteForChoice |
VoteForChoice.newVote(String choiceId,
Double voteValue) |
| Modifier and Type | Method and Description |
|---|---|
Set<VoteForChoice> |
GroupOfVoter.getVoteForChoices() |
Set<VoteForChoice> |
Voter.getVoteForChoices()
Gets all the vote for choices registred for this voter.
|
Set<VoteForChoice> |
SimpleVoter.getVoteForChoices() |
| Modifier and Type | Method and Description |
|---|---|
void |
GroupOfVoter.addVoteForChoice(VoteForChoice voteForChoice) |
void |
Voter.addVoteForChoice(VoteForChoice voteForChoice)
Register a new vote value for this voter.
|
void |
SimpleVoter.addVoteForChoice(VoteForChoice voteForChoice) |
| Modifier and Type | Method and Description |
|---|---|
static SimpleVoter |
SimpleVoter.newVoter(String voterId,
double weight,
Set<VoteForChoice> voteForChoices) |
Copyright © 2009–2014 CodeLutin. All rights reserved.