Package | Description |
---|---|
horstmann.ch09_queue1 |
Modifier and Type | Field and Description |
---|---|
private BoundedQueue<java.lang.String> |
Consumer.queue |
private BoundedQueue<java.lang.String> |
Producer.queue |
Constructor and Description |
---|
Consumer(BoundedQueue<java.lang.String> aQueue,
int count)
Constructs the consumer object.
|
Producer(java.lang.String aGreeting,
BoundedQueue<java.lang.String> aQueue,
int count)
Constructs the producer object.
|