Code example for Vector

Methods: removeAllElements

0
		notify();
	} 
 
	public synchronized void clearQueue() 
	{ 
		queue.removeAllElements();
	} 
 
	public synchronized boolean isEmpty() 
	{ 
		return queue.isEmpty();
	} 
}