Code example for BlockingQueue

Methods: take

0
	public short[] poll() { 
		return queue.poll();
	} 
 
	public short[] take() throws InterruptedException { 
		return queue.take();
	} 
}