Im having trouble understanding this class and everything ive seen hasn’t really helped.
Ill make my question as simple as possible.
If i have examiner 1, examiner 2, examiner 3 and
route1, route 2, route 3.
Both being Strings.
How would i randomly assign an examiner to a route?
This is probably a silly question but i just cannot wrap my head around it.
Place the examiners in a
Listand use Collections.shuffle() to shuffle it.After it is shuffled,
listOfExaminers.get(i)will be assigned to the corresponding route [You can also place routes in a list – to make it as generic as possible, but you only need to shuffle one list].