public class FunkyTwoThreadBlockingQueue extends Object implements BlockingQueue
Constructor and Description |
---|
FunkyTwoThreadBlockingQueue() |
public void put(String object)
public void add(String object)
add
in interface BlockingQueue
public String take() throws InterruptedException
take
in interface BlockingQueue
InterruptedException
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.