@Test public void testCapacity() { CircularQueue cq = new CircularQueue(1); Assert.assertEquals(1, cq.capacity()); Assert.assertEquals(0, cq.size()); }
public int capacity() { return capacity; }
CircularQueue { public int capacity() { return capacity; } }
CircularQueue { public int capacity() { return capacity; } CircularQueue();  CircularQueue(final int capacity); }
CircularQueue { public int capacity() { return capacity; } CircularQueue();  CircularQueue(final int capacity); int size(); int capacity(); int enqueue(int element); int dequeue(); boolean isEmpty(); }
CircularQueue { public int capacity() { return capacity; } CircularQueue();  CircularQueue(final int capacity); int size(); int capacity(); int enqueue(int element); int dequeue(); boolean isEmpty(); static final Logger LOGGER; static final int DEFAULT_CAPACITY; }