IElectionResultpublic class Election extends java.lang.Object implements IElectionResult
| Constructor | Description |
|---|---|
Election(EElectionType type) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
vote(ICitizen citizen) |
Vote for citizen.
|
getVotespublic Election(EElectionType type)
public void vote(ICitizen citizen)
IElectionResultvote in interface IElectionResultcitizen - for whom to vote.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.