Code example for BlockingQueue

Methods: poll

0
		rec.release();
		queue.clear();
	} 
 
	public short[] poll() { 
		return queue.poll();
	} 
 
	public short[] take() throws InterruptedException { 
		return queue.take();
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE