de.heineken.studienarbeit
Class Liste
LinkedList
de.heineken.studienarbeit.Liste
public class Liste
extends LinkedList
Subclass from linked list
saves the algorithm/buffer combinations
for later sending
String | allesenden(String id, String pwd) - sends all the storing objects to the server.
|
private Information | suche(String aid, int puffer) - Looks for a special object marked as the given Applet ID aid
|
int | zaehlefalsch(String aid, int buffer) - The method changes the storing object in the case a wrong answer was issued.
|
int | zaehlerichtig(String aid, int buffer, int hzeit) - The method changes the storing object in the case a correct answer was issued.
|
Liste
public Liste()
Constructor
allesenden
public String allesenden(String id,
String pwd)
sends all the storing objects to the server.
pwd
- the user's password
suche
private Information suche(String aid,
int puffer)
Looks for a special object marked as the given Applet ID aid
aid
- Applet IDpuffer
- size of the buffer
zaehlefalsch
public int zaehlefalsch(String aid,
int buffer)
The method changes the storing object in the case a wrong answer was issued.
aid
- Appletidbuffer
- buffersize
zaehlerichtig
public int zaehlerichtig(String aid,
int buffer,
int hzeit)
The method changes the storing object in the case a correct answer was issued.
aid
- Applet IDbuffer
- size of the bufferhzeit
- time which was required to enter this answer