|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
|
+--Schedule
A Schedule represents a season of Games among a set of teams.
Field Summary | |
static int |
GAMES
The number of Games in the Schedule. |
Constructor Summary | |
Schedule()
Creates a new Schedule object that stores the results for GAMES Games The created Schedule will have scores for all the Games of a season. |
Method Summary | |
Game |
getGame(int i)
Returns the specified Game in the Schedule There are GAMES Games that are 0-indexed. |
java.lang.String[] |
getTeams()
Returns an array that includes all of the teams that play in the Schedule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify,
notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int GAMES
Constructor Detail |
public Schedule()
Method Detail |
public java.lang.String[] getTeams()
public Game getGame(int i)
i
- a Game (number) in the Schdeule
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |