test_class.file: util/src/test/java/org/microbule/util/collection/RoundRobinTest.java
test_class.identifier: RoundRobinTest
test_class.superclass: extends MicrobuleTestCase
test_case.body: @Test
      public void testRoundRobin() {
          RoundRobin<String> balancer = new RoundRobin<>(Lists.newArrayList("one", "two", "three"));
          assertEquals("one", balancer.nextItem());
          assertEquals("two", balancer.nextItem());
          assertEquals("three", balancer.nextItem());
          assertEquals("one", balancer.nextItem());
      }
test_case.class_method_signature: RoundRobinTest.testRoundRobin()
test_case.full_signature: @Test public void testRoundRobin()
test_case.identifier: testRoundRobin
test_case.invocations: newArrayList assertEquals nextItem assertEquals nextItem assertEquals nextItem assertEquals nextItem
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRoundRobin()
focal_class.declarator: items
focal_class.modifier: private final
focal_class.original_string: private final List<T> items;
focal_class.type: List<T>
focal_class.var_name: items
focal_class.declarator: index = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger index = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: index
focal_class.declarator: n
focal_class.modifier: private final
focal_class.original_string: private final int n;
focal_class.type: int
focal_class.var_name: n
focal_class.file: util/src/main/java/org/microbule/util/collection/RoundRobin.java
focal_class.identifier: RoundRobin
focal_class.class_method_signature: RoundRobin.RoundRobin(List<T> items)
focal_class.full_signature: public  RoundRobin(List<T> items)
focal_class.identifier: RoundRobin
focal_class.modifiers: public
focal_class.parameters: (List<T> items)
focal_class.signature:  RoundRobin(List<T> items)
focal_class.class_method_signature: RoundRobin.nextItem()
focal_class.full_signature: public T nextItem()
focal_class.identifier: nextItem
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T nextItem()
focal_method.body: public RoundRobin(List<T> items) {
          this.items = items == null ? Collections.emptyList() : Lists.newArrayList(items);
          this.n = this.items.size();
      }
focal_method.class_method_signature: RoundRobin.RoundRobin(List<T> items)
focal_method.full_signature: public  RoundRobin(List<T> items)
focal_method.identifier: RoundRobin
focal_method.modifiers: public
focal_method.parameters: (List<T> items)
focal_method.signature:  RoundRobin(List<T> items)