T
- The type of object managed by this queuepublic class SynchronizedQueue<T> extends Object
ConcurrentLinkedQueue
when the requirement is to
create an unbounded queue with no requirement to shrink the queue. The aim is
to provide the bare minimum of required functionality as quickly as possible
with minimum garbage.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SIZE |
Constructor and Description |
---|
SynchronizedQueue() |
SynchronizedQueue(int initialSize) |
public static final int DEFAULT_SIZE
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.