org.bolson.vote
Interface SummableVotingSystem


public interface SummableVotingSystem

A voting system that can add up results from partial counts of the total vote. For example, precincts send their partial sum to a central tabulating location which produces the final result.


Method Summary
 void accumulateSubVote(SummableVotingSystem other)
          Vote a partial tally into this voting system.
 

Method Detail

accumulateSubVote

void accumulateSubVote(SummableVotingSystem other)
                       throws java.lang.ClassCastException
Vote a partial tally into this voting system.

Parameters:
other - another SummableVotingSystem. Most likely it will only work if it is the same class as this.
Throws:
java.lang.ClassCastException