| Modifier and Type | Field and Description |
|---|---|
private int |
numberNo |
private int |
numberYes |
private ICityPetition |
petition |
private ICityViolation |
violation |
| Constructor and Description |
|---|
Ballot(ICityPetition petition) |
Ballot(ICityViolation violation) |
| Modifier and Type | Method and Description |
|---|---|
void |
vote(boolean yes)
Vote for or against something.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNumberNo, getNumberYesprivate int numberYes
private int numberNo
private ICityPetition petition
private ICityViolation violation
public Ballot(ICityPetition petition)
public Ballot(ICityViolation violation)
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.