Packages

p

o1

football4

package football4

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package gui

Type Members

  1. class Club extends AnyRef

    The class Club represents football clubs in a match statistics system.

    The class Club represents football clubs in a match statistics system. Only some very basic information for each club is recorded. A club object is immutable once created.

  2. class Match extends AnyRef

    Each object of the class Match represents a state of a football match.

    Each object of the class Match represents a state of a football match. A match is played between teams from two clubs: a home club and an away club. Goals scored by players of either team can be added to the match object with the method addGoal, which produces a new Match object representing the updated state of the match. Each Match object is immutable.

  3. class Player extends AnyRef

    The class Player represents football players in a match statistics program.

    The class Player represents football players in a match statistics program. Only some very basic information about each player is recorded.

    A player object is immutable after creation.

  4. class Season extends AnyRef

    The class Season represents a season in a football league, that is, a series of matches between various clubs.

    The class Season represents a season in a football league, that is, a series of matches between various clubs. The methods in the class allow adding matches to a season as well as calculating some very basic season statistics (the total number of matches, the biggest win during the season, etc.).

Value Members

  1. object ExampleLeague

    The singleton object ExampleLeague provides constants that can be used to experiment with the other classes of this package.

    The singleton object ExampleLeague provides constants that can be used to experiment with the other classes of this package. More specifically, a bunch of Club and Player objects are provided.

    Usage examples (which assume the command import ExampleLeague._ has been given):

    • new Player("T. Teekkari", ARS)
    • new Match(LIV, SOT)

Ungrouped