Skip to content

Conversation

@Dmitry-Ozornin
Copy link

Не понимаю зачем тут нежен Iterator. Буду разбираться, не судите строго)
Озорнин Дмитрий

import java.util.Collections;
import java.util.List;

public class FamilyTree implements Serializable {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

по заданию здесь должен был быть реализован интерфейс Iterable

Comment on lines +140 to +149
private void writeObject(ObjectOutputStream stream) throws IOException {
stream.defaultWriteObject();

}

private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
stream.defaultReadObject();


}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

непонятные методы. дерево должно работать со списком людей и никакие больше потоки деревом обрабатываться не должны

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants