package election
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class Candidate extends AnyRef
Represents a candidate in an election results application.
Represents a candidate in an election results application.
A candidate object is immutable.
- class District extends AnyRef
The class
District
represents electoral districts (Finnish: vaalipiiri).The class
District
represents electoral districts (Finnish: vaalipiiri). Each district has a certain number of seats for which a (larger) number of candidates compete in an election. Each district has its own candidates.A district object is immutable.
Value Members
- object ElectionTest extends App
A small program that uses the classes in this package.
A small program that uses the classes in this package. May be customized by the student.