-
Notifications
You must be signed in to change notification settings - Fork 63
Группа разработчик Власов Артем #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Работа над ошибками |
|
Добавил реализацию чтения и записи |
| void writeToFile(String fileName, List<Person> people); | ||
| List<Person> readFromFile(String fileName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Сохранять и загружать лучше все дерево, а не только список людей
| import java.util.List; | ||
| import java.util.Objects; | ||
|
|
||
| class Person { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ожидается интерфейс Serializable
| import java.util.HashMap; | ||
| import java.util.Map; | ||
|
|
||
| class FamilyTree { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ожидается интерфейс Serializable
Home_Work OOP1
Gender
FamilyTree
Main