Class RoundRobin<T>

java.lang.Object
com.adobe.acs.commons.functions.RoundRobin<T>
Type Parameters:
T - Type being iterated in the list
All Implemented Interfaces:
Iterable<T>

public class RoundRobin<T> extends Object implements Iterable<T>
Provides a thread-safe iterator that loops though a list, useful for providing a circular list for round-robin uses.
  • Constructor Details

    • RoundRobin

      public RoundRobin(List<T> coll)
  • Method Details