o1.family
package o1.family
Members list
Type members
Classlikes
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
In this article