|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bolson.vote.NameVotingSystem org.bolson.vote.NamedApproval
public class NamedApproval
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.bolson.vote.NameVotingSystem |
---|
NameVotingSystem.NameVote, NameVotingSystem.ReverseComparator |
Constructor Summary | |
---|---|
NamedApproval()
|
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 NamedApproval()
Method Detail |
---|
public void voteRating(NameVotingSystem.NameVote[] vote)
NameVotingSystem
voteRating
in class NameVotingSystem
vote
- a set of (name,rating) pairsNameVotingSystem.voteRating(Map)
public NameVotingSystem.NameVote[] getWinners()
getWinners
in class NameVotingSystem
public java.lang.StringBuffer htmlSummary(java.lang.StringBuffer sb)
NameVotingSystem
htmlSummary
in class NameVotingSystem
sb
- 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 |