Packages

p

o1

football1

package football1

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

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

    The class Match represents match results in a football match statistics program.

    The class Match represents match results in a football match statistics program. A match is played between teams from two clubs: a home club and an away club. Goals scored by either team can be added to the match object.

    The class is expected to be used so that a match object with no goals is initially created as a real-life match starts. Goals are added incrementally as the match progresses. (A match object has mutable state.)

Value Members

  1. object MatchTest extends App

    A small program that uses the classes Club and Match to keep track of some football matches.

    A small program that uses the classes Club and Match to keep track of some football matches. To be customized by the student.

Ungrouped