Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
G
M
N
P
S
T
W
A
addPartei(Partei)
- Method in class
Wahl
Nimmt eine Partei in die Wahlliste auf, unter der Voraussetzung, dass die Wahl noch nicht laeuft und die Partei noch nicht in der Wahlliste steht.
addStimme()
- Method in class
Partei
addStimme(Partei)
- Method in class
Wahl
Wahl laeuft, addiert eine abgegebene Stimme fuer eine Partei.
C
color
- Variable in class
Partei
E
equals(Partei)
- Method in class
Partei
G
getAnzahlStimmen()
- Method in class
Wahl
Ermittelt die Anzahl der abgegebenen Waehlerstimmen.
getColor()
- Method in class
Partei
getName()
- Method in class
Partei
getParteien()
- Method in class
Wahl
Liest Wahlliste.
getStandInProzent(Partei)
- Method in class
Wahl
Ermittelt den Zwischenstand einer Partei in Prozent.
getStimmen()
- Method in class
Partei
M
main(String[])
- Static method in class
Partei
Test der Klasse Partei.
main(String[])
- Static method in class
WahlTest
Test der Klasse Wahl: Nimmt drei Klassen auf, gibt Stimmen zufaellig ab und das Wahlergebnis aus.
N
name
- Variable in class
Partei
P
Partei
- Class in
<Unnamed>
Partei(String, Color)
- Constructor for class
Partei
parteien
- Variable in class
Wahl
Wahlliste der beteiligten Parteien.
S
stimmen
- Variable in class
Partei
T
toString()
- Method in class
Partei
Gibt Partei als String zurück.
toString()
- Method in class
Wahl
Gibt Stand der Wahl zeilenweise fuer alle Parteien als String zurück.
W
Wahl
- Class in
<Unnamed>
Simuliert eine Wahl.
Wahl()
- Constructor for class
Wahl
Konstruktor, erzeugt neue Wahlliste, Wahl laeuft noch nicht.
wahlLaeuft
- Variable in class
Wahl
Gibt an, ob die Wahl laeuft.
WahlTest
- Class in
<Unnamed>
Testprogramm.
WahlTest()
- Constructor for class
WahlTest
A
C
E
G
M
N
P
S
T
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes