Hello all i have problem to find "Simple' example source code to understand the round robin algorithm can some one please point me to some info and simple java code implementation of round robin? thanks
posted 10 years ago
"Round Robin" usually means just to step round a list of objects.
Imagine a group of people sitting in a circle and passing someting between them. The item passes from one person to another round the circle, potentially forever.
As a code example, try this:
In this case I am using an iterator to step through a list, and starting again when I reach the end.