/** * removes and returns the next item. * if currently empty, the calling thread waits until another thread adds * an item. * if this method doesn't throw interruptedexception, then the item was * successfully removed. */

Q&A Education