Football4 Docs
Fall 2025
API

# Club

o1.football4.Club
class Club(val `name`: String, val `abbreviation`: String, val `stadium`: String)

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.

## Parameters

name

  the name of the club

stadium

  the name of the home stadium of the club

## Attributes

Graph
Supertypes
  class Object
  trait Matchable
  class Any

## Members list

### Value members

#### Concrete methods

override def toString: String

Produces a textual description of the club (which consists of just the club’s name).

Produces a textual description of the club (which consists of just the club’s name).

## Attributes

Definition Classes
  Any

#### Concrete fields

val abbreviation: String
val name: String
val stadium: String