@Test public void testCapacity() { Assert.assertEquals(TailBuffer.DEFAULT_CAPACITY, new TailBuffer<>().capacity()); Assert.assertEquals(CAPACITY, buffer.capacity()); }
@Override public int capacity() { return buffer.length; }
TailBuffer implements ITailBuffer<S> { @Override public int capacity() { return buffer.length; } }
TailBuffer implements ITailBuffer<S> { @Override public int capacity() { return buffer.length; } TailBuffer(final int capacity_);  TailBuffer(); }
TailBuffer implements ITailBuffer<S> { @Override public int capacity() { return buffer.length; } TailBuffer(final int capacity_);  TailBuffer(); @Override void add(final S symbol_); @Override int capacity(); @Override void clear(); @Override long end(); @Override boolean isEmpty(); @Override boolean isFull(); @Override S remove(); @Override int size(); @Override long start(); @SuppressWarnings("unchecked") @Override S symbolAt(final long iPosition_); @Override String toString(); }
TailBuffer implements ITailBuffer<S> { @Override public int capacity() { return buffer.length; } TailBuffer(final int capacity_);  TailBuffer(); @Override void add(final S symbol_); @Override int capacity(); @Override void clear(); @Override long end(); @Override boolean isEmpty(); @Override boolean isFull(); @Override S remove(); @Override int size(); @Override long start(); @SuppressWarnings("unchecked") @Override S symbolAt(final long iPosition_); @Override String toString(); static final int DEFAULT_CAPACITY; }