|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Information about a single contestant. Unless the subclass specifies otherwise, assume that contestant names are case sensitive; and that leading and trailing spaces (but not internal spaces) are ignored and trimmed.
Method Summary | |
int |
getGamesDrawn()
Tells the number of games tied (draws) so far. |
int |
getGamesLost()
Tells the number of games lost so far. |
int |
getGamesWon()
Tells the number of games won so far. |
java.lang.String |
getName()
Tells the name of this team. |
void |
recordDraw()
Remember that a game was a draw. |
void |
recordLoss()
Remember that a game was lost. |
void |
recordWin()
Remember that a game was won. |
Method Detail |
public java.lang.String getName()
public int getGamesWon()
public int getGamesLost()
public int getGamesDrawn()
public void recordWin()
public void recordLoss()
public void recordDraw()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |