September 2002
Intermediate to advanced
608 pages
14h 20m
English
// Games.java package nfl.original; import java.io.*; import java.util.*; /** All games that have been played, and summary * information about them */ public class Games { public static final int GAMES_IN_SEASON = 16; private List gameList = new ArrayList(250); /** Returns all games played as a List */ public List getGameList() {return gameList; } /** Sets the list of played games */ public void setGameList(List g) {gameList = g; } /** A handle to the Teams object is used for determining * conference & division membership. */ private Teams teams = Teams.getHandle(); private static Games games = new Games(); public static Games getHandle() {return games; } /** Constructor for the Games object. */ private Games() { // Week ...Read now
Unlock full access