| Package | Description |
|---|---|
| org.chorem.pollen.votecounting.model | |
| org.chorem.pollen.votecounting.strategy |
| Modifier and Type | Method and Description |
|---|---|
static VoteForChoice |
VoteForChoice.newVote(String choiceId,
Double voteValue) |
| Modifier and Type | Method and Description |
|---|---|
Set<VoteForChoice> |
Voter.getVoteForChoices()
Gets all the vote for choices registred for this voter.
|
Set<VoteForChoice> |
GroupOfVoter.getVoteForChoices() |
Set<VoteForChoice> |
SimpleVoter.getVoteForChoices() |
| Modifier and Type | Method and Description |
|---|---|
void |
Voter.addVoteForChoice(VoteForChoice voteForChoice)
Register a new vote value for this voter.
|
void |
GroupOfVoter.addVoteForChoice(VoteForChoice voteForChoice) |
void |
SimpleVoter.addVoteForChoice(VoteForChoice voteForChoice) |
| Modifier and Type | Method and Description |
|---|---|
static SimpleVoter |
SimpleVoter.newVoter(String voterId,
double weight,
Set<VoteForChoice> voteForChoices) |
static GroupOfVoter |
GroupOfVoter.newVoter(String voterId,
double weight,
Set<VoteForChoice> voteForChoices,
Set<Voter> voters) |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractVoteCountingStrategy.VoteForChoiceComparator.compare(VoteForChoice o1,
VoteForChoice o2) |
| Modifier and Type | Method and Description |
|---|---|
List<Set<String>> |
AbstractVoteCountingStrategy.sortVoteForChoices(Set<VoteForChoice> voteForChoices,
Comparator<VoteForChoice> comparator) |
List<Set<String>> |
AbstractVoteCountingStrategy.sortVoteForChoices(Set<VoteForChoice> voteForChoices,
Comparator<VoteForChoice> comparator) |
Copyright © 2009-2012 CodeLutin. All Rights Reserved.