Packages

c

o1.city

Occupied

final class Occupied extends Demographic

An Occupied object signals that a household belongs to a demographic specific by the color label stored within the Occupied object. For instance, a residence may be "occupied by the red demographic", or "occupied by the blue demographic".

An Occupied object is immutable

Linear Supertypes
Demographic, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Occupied
  2. Demographic
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Occupied(label: o1.Color)

    label

    a color that distinguishes the occupying demographic from others

Value Members

  1. val label: o1.Color
  2. def toString: String
    Definition Classes
    Occupied → AnyRef → Any