@Test public void testIsEmpty() { assertTrue(queue.isEmpty()); queue.enqueue(new Object()); assertFalse(queue.isEmpty()); queue.dequeue(); assertTrue(queue.isEmpty()); }
public boolean isEmpty() { synchronized (mutex) { return queueData.isEmpty(); } }
Queue extends SmppObject { public boolean isEmpty() { synchronized (mutex) { return queueData.isEmpty(); } } }
Queue extends SmppObject { public boolean isEmpty() { synchronized (mutex) { return queueData.isEmpty(); } } Queue();  Queue(int maxSize); }
Queue extends SmppObject { public boolean isEmpty() { synchronized (mutex) { return queueData.isEmpty(); } } Queue();  Queue(int maxSize); int size(); boolean isEmpty(); Object dequeue(); Object dequeue(Object obj); void enqueue(Object obj); Object find(Object obj); }
Queue extends SmppObject { public boolean isEmpty() { synchronized (mutex) { return queueData.isEmpty(); } } Queue();  Queue(int maxSize); int size(); boolean isEmpty(); Object dequeue(); Object dequeue(Object obj); void enqueue(Object obj); Object find(Object obj);  }