(E e)
| 25 | } |
| 26 | |
| 27 | @Override |
| 28 | public void enqueue(E e) { |
| 29 | if (size == data.length) throw new IllegalStateException("Queue is full"); |
| 30 | int avail = (front + size) % data.length; |
| 31 | data[avail] = e; |
| 32 | size ++; |
| 33 | } |
| 34 | |
| 35 | @Override |
| 36 | public E dequeue() { |
nothing calls this directly
no outgoing calls
no test coverage detected