I am attempting to create a maze using a premade Disjoint set class. I have created a Cell class that contains a boolean variable for each of the four walls. The problem is, how do I create a disjoint set of cell objects? That way I can union the cells and change the boolean variables accordingly.
http://users.cis.fiu.edu/~weiss/dsaajava3/code/DisjSets.java
That is the code for the disjoint set