edu.oswego.cs.dl.util.concurrent
Class Rendezvous.Rotator
java.lang.Object
|
+--edu.oswego.cs.dl.util.concurrent.Rendezvous.Rotator
- All Implemented Interfaces:
- Rendezvous.RendezvousFunction
- Enclosing class:
- Rendezvous
- public static class Rendezvous.Rotator
- extends Object
- implements Rendezvous.RendezvousFunction
The default rendezvous function. Rotates the array
so that each thread returns an item presented by some
other thread (or itself, if parties is 1).
Rendezvous.Rotator
public Rendezvous.Rotator()
rendezvousFunction
public void rendezvousFunction(Object[] objects)
- Rotate the array
- Specified by:
rendezvousFunction
in interface Rendezvous.RendezvousFunction
Submit a bug or feature. Check the Colt home page for the latest news.