Vacant

object Vacant extends Demographic

This immutable singleton object effectively means “no demographic at all”. It can be used on a CityMap to indicate that a residence is empty.

class Object
trait Matchable
class Any
Vacant.type

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes