Kepler Nasa

Greenhorn
+ Follow
since Nov 20, 2015
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kepler Nasa

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?
8 years ago