@Test public void testIsFull() { Assert.assertFalse(buffer.isFull()); for (int i = 0; i < 2 * CAPACITY; i++) { buffer.add(0); Assert.assertEquals( String.format("i=%d; ", i), i + 1 >= CAPACITY, buffer.isFull()); } buffer.clear(); Assert.assertFalse(buffer.isFull()); }
@Override public boolean isFull() { return iEnd - iStart == buffer.length; }
TailBuffer implements ITailBuffer<S> { @Override public boolean isFull() { return iEnd - iStart == buffer.length; } }
TailBuffer implements ITailBuffer<S> { @Override public boolean isFull() { return iEnd - iStart == buffer.length; } TailBuffer(final int capacity_);  TailBuffer(); }
TailBuffer implements ITailBuffer<S> { @Override public boolean isFull() { return iEnd - iStart == 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 boolean isFull() { return iEnd - iStart == 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; }