Initial commit

This commit is contained in:
2021-03-23 22:54:32 +01:00
commit b41d133be1
106 changed files with 5423 additions and 0 deletions

23
diagrammer/ex4/Person.wsd Normal file
View File

@@ -0,0 +1,23 @@
@startuml Person
class objectstructures.Person {
-name: String
-gender: char
-children: List<Person>
-mother: Optional<Person>
-father: Optional<Person>
+getGender(): char
+getChildren(): Collection
+getChildCount(): int
+getChild(int n): Person
+getMother(): Person
+getFather(): Person
+addChild(Person child): void
+setFather(Person father): void
+setMother(Person mother): void
+removeChild(Person child): void
+getName(): String
-setParent(Person newParent, Optional<Person> currentParent, char gender): void
}
@enduml