test_class.file: base/src/test/java/com/barchart/feed/base/collections/TestRingBufferSimple.java
test_class.identifier: TestRingBufferSimple
test_case.body: @Test
  	public void testyTail() {
  
  		final RingBuffer<Integer> ring = new RingBufferSimple<Integer>(10);
  		assertEquals(ring.length(), 10);
  
  		ring.setTail(109, 109);
  		assertEquals(ring.count(), 1);
  		assertEquals(ring.get(109), (Integer) 109);
  
  		for (int k = 100; k < 109; k++) {
  			assertEquals(ring.get(k), null);
  		}
  
  		for (int k = 100; k < 110; k++) {
  			ring.set(k, k);
  		}
  
  		assertEquals(ring.count(), 10);
  
  		for (int k = 100; k < 110; k++) {
  			assertEquals(ring.get(k), (Integer) k);
  		}
  
  		ring.setTail(104, 204);
  		assertEquals(ring.count(), 5);
  		assertEquals(ring.head(), 95);
  		assertEquals(ring.tail(), 104);
  		assertEquals(ring.get(104), (Integer) 204);
  
  		for (int k = 100; k < 104; k++) {
  			assertEquals(ring.get(k), (Integer) k);
  		}
  
  		for (int k = 95; k < 100; k++) {
  			assertEquals(ring.get(k), (Integer) null);
  		}
  
  		ring.set(95, 95);
  		assertEquals(ring.get(95), (Integer) 95);
  		assertEquals(ring.count(), 6);
  
  	}
test_case.class_method_signature: TestRingBufferSimple.testyTail()
test_case.full_signature: @Test public void testyTail()
test_case.identifier: testyTail
test_case.invocations: assertEquals length setTail assertEquals count assertEquals get assertEquals get set assertEquals count assertEquals get setTail assertEquals count assertEquals head assertEquals tail assertEquals get assertEquals get assertEquals get set assertEquals get assertEquals count
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testyTail()
focal_class.declarator: array
focal_class.modifier: protected final
focal_class.original_string: protected final V[] array;
focal_class.type: V[]
focal_class.var_name: array
focal_class.file: base/src/main/java/com/barchart/feed/base/collections/RingBufferSimple.java
focal_class.identifier: RingBufferSimple
focal_class.class_method_signature: RingBufferSimple.length()
focal_class.full_signature: @Override public final int length()
focal_class.identifier: length
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int length()
focal_class.class_method_signature: RingBufferSimple.arrayGet(final int clue)
focal_class.full_signature: @Override protected final V arrayGet(final int clue)
focal_class.identifier: arrayGet
focal_class.modifiers: @Override protected final
focal_class.parameters: (final int clue)
focal_class.return: V
focal_class.signature: V arrayGet(final int clue)
focal_class.class_method_signature: RingBufferSimple.arraySet(final int clue, final V value)
focal_class.full_signature: @Override protected final void arraySet(final int clue, final V value)
focal_class.identifier: arraySet
focal_class.modifiers: @Override protected final
focal_class.parameters: (final int clue, final V value)
focal_class.return: void
focal_class.signature: void arraySet(final int clue, final V value)
focal_class.class_method_signature: RingBufferSimple.RingBufferSimple(final int size)
focal_class.full_signature: @SuppressWarnings("unchecked") public  RingBufferSimple(final int size)
focal_class.identifier: RingBufferSimple
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final int size)
focal_class.signature:  RingBufferSimple(final int size)
focal_class.class_method_signature: RingBufferSimple.isEmpty(final int clue)
focal_class.full_signature: @Override protected final boolean isEmpty(final int clue)
focal_class.identifier: isEmpty
focal_class.modifiers: @Override protected final
focal_class.parameters: (final int clue)
focal_class.return: boolean
focal_class.signature: boolean isEmpty(final int clue)
focal_class.superclass: extends RingBufferBase<V>
focal_method.body: @Override
  	public final int length() {
  		return array.length;
  	}
focal_method.class_method_signature: RingBufferSimple.length()
focal_method.full_signature: @Override public final int length()
focal_method.identifier: length
focal_method.modifiers: @Override public final
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int length()