o1.family

package o1.family

Members list

Type members

Classlikes

class FamilyMember(val name: String, val children: Vector[FamilyMember])

The class FamilyMember represents people in a very simple family tree analysis program. Each person has a name and zero or more children. A FamilyMember object is immutable.

The class FamilyMember represents people in a very simple family tree analysis program. Each person has a name and zero or more children. A FamilyMember object is immutable.

Note: All the methods in this class assume that each descendant descends from a person via a single line of ancestry only.

Parameters

children

the person’s children

name

the person’s name

Attributes

Supertypes
class Object
trait Matchable
class Any