Patricia,
Thanks for writing!
Patricia Shanahan wrote:
What does the LinkedBlockingQueue constructor call look like? It will be
the super call at the start of your ObjectListQueue constructor. The
important thing is whether it specifies a reasonable capacity.
The only connection to the LinkedBlockingQueue class is (from above):
public class ObjectListQueue extends LinkedBlockingQueue<ObjectList> {
static final long serialVersionUID = 1;
}
Instances that have LinkedBlockingQueue properties are instantiated
from the ObjectListQueue class. An example is:
ObjectListQueue qCPin = new ObjectListQueue(), qCin = new
ObjectListQueue();
..which is from the static class first run in the app. This approach is
from Bruce Eckel's TIJ4, page 1218. Does taking this approach mean that
a queue size can't be specified?
it, its implementation.