Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String ouder = "Kind";
- Iterator<Relatie> it = p.getRelaties();
- while (it.hasNext()) {
- Relatie r = it.next();
- Iterator<Persoon> it2 = r.getKinderen();
- while (it2.hasNext()) {
- Persoon p2 = it2.next();
- ouder = "Ouder";
- }
- }
Add Comment
Please, Sign In to add comment