Hey all,
is there any way of implementing cyclic / circular classes in Java or Scala?
For Example:
As you can see a Person has Set of Groups, and Groups can have List of Persons, whereas Persons have Groups again.
Person <- Group(s) <- Person <- Group(s) <- ...
How can I put a reference to it in Groups?