I have two data structures in Java:
One of them is called DebateAssignment and has 5 DebateTeam objects, each of which is associated with a specific enumeration, which includes
{JUDGE, PROP1, PROP2, OP1, OP2}
In another class, I use List<DebateAssignment>, and I want to create an iterator that will point to a specific DebateTeam in a specific DebateAssignment, and I want it to iterate over all the commands for all assignments, easily moving from assignment to assignment.
How can i do this?
source
share