|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bolson.vote.NameVotingSystem
org.bolson.vote.NamedTemplate
public class NamedTemplate
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.bolson.vote.NameVotingSystem |
|---|
NameVotingSystem.NameVote, NameVotingSystem.ReverseComparator |
| Constructor Summary | |
|---|---|
NamedTemplate()
|
|
| Method Summary | |
|---|---|
NameVotingSystem.NameVote[] |
getWinners()
|
java.lang.StringBuffer |
htmlSummary(java.lang.StringBuffer sb)
Get HTML summary of voting system state. |
java.lang.String |
name()
|
void |
voteRating(NameVotingSystem.NameVote[] vote)
Vote a set of ratings. |
| Methods inherited from class org.bolson.vote.NameVotingSystem |
|---|
defaultMain, denibble, depercentHexify, fromUrlEncoded, getDebug, getImplNames, getIpmlForName, htmlExplain, htmlExplain, htmlSummary, init, nameEqStrToVoteArray, nameEqStrToVoteArray, percentHexify, readVotes, registerImpl, resultsHTMLDisplay, sort, urlEncode, voteNameEqStr, voteOrderSpec, voteRating, voteSpecToNameVoteArray, winnerSummaryHTMLTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamedTemplate()
| Method Detail |
|---|
public void voteRating(NameVotingSystem.NameVote[] vote)
NameVotingSystem
voteRating in class NameVotingSystemvote - a set of (name,rating) pairsNameVotingSystem.voteRating(Map)public NameVotingSystem.NameVote[] getWinners()
getWinners in class NameVotingSystempublic java.lang.StringBuffer htmlSummary(java.lang.StringBuffer sb)
NameVotingSystem
htmlSummary in class NameVotingSystemsb - a valid StringBuffer to which HTML summary will be appended.
public java.lang.String name()
name in class NameVotingSystem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||