test_class.file: base/src/test/java/com/barchart/feed/base/collections/TestFastArrayList.java
test_class.identifier: TestFastArrayList
test_case.body: @Test
  	public void testIterator() {
  
  		boolean isAdded, isRemoved;
  
  		final FastArrayList<Integer> array = new FastArrayList<Integer>();
  
  		assertTrue(array.isEmpty());
  
  		final Integer one = 123456;
  
  		final Integer two = 654321;
  
  		isAdded = array.add(one);
  		assertTrue(isAdded);
  		isAdded = array.add(two);
  		assertTrue(isAdded);
  		assertEquals(array.size(), 2);
  
  		isAdded = array.add(one);
  		assertFalse(isAdded);
  		isAdded = array.add(two);
  		assertFalse(isAdded);
  		assertEquals(array.size(), 2);
  
  		int count1 = 0;
  		for (final Integer item : array) {
  			count1++;
  		}
  		assertEquals(count1, 2);
  
  		int count2 = 0;
  		for (final Integer item : array) {
  			count2++;
  		}
  		assertEquals(count2, 2);
  
  		isRemoved = array.remove(two);
  		assertTrue(isRemoved);
  		assertEquals(array.size(), 1);
  
  		isRemoved = array.remove(two);
  		assertFalse(isRemoved);
  		assertEquals(array.size(), 1);
  
  		isRemoved = array.remove(one);
  		assertTrue(isRemoved);
  		assertEquals(array.size(), 0);
  
  		isRemoved = array.remove(one);
  		assertFalse(isRemoved);
  		assertEquals(array.size(), 0);
  
  	}
test_case.class_method_signature: TestFastArrayList.testIterator()
test_case.full_signature: @Test public void testIterator()
test_case.identifier: testIterator
test_case.invocations: assertTrue isEmpty add assertTrue add assertTrue assertEquals size add assertFalse add assertFalse assertEquals size assertEquals assertEquals remove assertTrue assertEquals size remove assertFalse assertEquals size remove assertTrue assertEquals size remove assertFalse assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIterator()
focal_class.declarator: array
focal_class.modifier: protected volatile
focal_class.original_string: protected volatile T[] array;
focal_class.type: T[]
focal_class.var_name: array
focal_class.file: base/src/main/java/com/barchart/feed/base/collections/FastArrayList.java
focal_class.identifier: FastArrayList
focal_class.interfaces: implements
  		RunnerLoop<T>
focal_class.class_method_signature: FastArrayList.FastArrayList()
focal_class.full_signature: @SuppressWarnings("unchecked") public  FastArrayList()
focal_class.identifier: FastArrayList
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: ()
focal_class.signature:  FastArrayList()
focal_class.class_method_signature: FastArrayList.FastArrayList(final int size)
focal_class.full_signature: @SuppressWarnings("unchecked") public  FastArrayList(final int size)
focal_class.identifier: FastArrayList
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final int size)
focal_class.signature:  FastArrayList(final int size)
focal_class.class_method_signature: FastArrayList.FastArrayList(final T[] array)
focal_class.full_signature: public  FastArrayList(final T[] array)
focal_class.identifier: FastArrayList
focal_class.modifiers: public
focal_class.parameters: (final T[] array)
focal_class.signature:  FastArrayList(final T[] array)
focal_class.class_method_signature: FastArrayList.add(final T item)
focal_class.full_signature: @Override public boolean add(final T item)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final T item)
focal_class.return: boolean
focal_class.signature: boolean add(final T item)
focal_class.class_method_signature: FastArrayList.remove(final Object item)
focal_class.full_signature: @Override @SuppressWarnings("unchecked") public boolean remove(final Object item)
focal_class.identifier: remove
focal_class.modifiers: @Override @SuppressWarnings("unchecked") public
focal_class.parameters: (final Object item)
focal_class.return: boolean
focal_class.signature: boolean remove(final Object item)
focal_class.class_method_signature: FastArrayList.iterator()
focal_class.full_signature: @Override public Iterator<T> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<T>
focal_class.signature: Iterator<T> iterator()
focal_class.class_method_signature: FastArrayList.size()
focal_class.full_signature: @Override public int size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: FastArrayList.isEmpty()
focal_class.full_signature: @Override public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: FastArrayList.runLoop(final Runner<R, T> task, final List<R> list)
focal_class.full_signature: @ThreadSafe(rule = "does not reflect concurrent modifications") @Override public void runLoop(final Runner<R, T> task, final List<R> list)
focal_class.identifier: runLoop
focal_class.modifiers: @ThreadSafe(rule = "does not reflect concurrent modifications") @Override public
focal_class.parameters: (final Runner<R, T> task, final List<R> list)
focal_class.return: void
focal_class.signature: void runLoop(final Runner<R, T> task, final List<R> list)
focal_class.class_method_signature: FastArrayList.toArray()
focal_class.full_signature: @Override public Object[] toArray()
focal_class.identifier: toArray
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object[]
focal_class.signature: Object[] toArray()
focal_class.class_method_signature: FastArrayList.toArray(final T[] instance)
focal_class.full_signature: @SuppressWarnings("unchecked") @Override public T[] toArray(final T[] instance)
focal_class.identifier: toArray
focal_class.modifiers: @SuppressWarnings("unchecked") @Override public
focal_class.parameters: (final T[] instance)
focal_class.return: T[]
focal_class.signature: T[] toArray(final T[] instance)
focal_class.superclass: extends UnsupportedList<T>
focal_method.body: @Override
  	public Iterator<T> iterator() {
  		return new ThisIterator(array);
  	}
focal_method.class_method_signature: FastArrayList.iterator()
focal_method.full_signature: @Override public Iterator<T> iterator()
focal_method.identifier: iterator
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Iterator<T>
focal_method.signature: Iterator<T> iterator()