public abstract class AbstractBlockingQueueFactory extends Object implements BlockingQueueFactory
BlockingQueueFactory interface.| Constructor and Description |
|---|
AbstractBlockingQueueFactory()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BlockingQueue |
createGeneric()
This method creates a new instance of the generic
Collection type <COLLECTION>
. |
BlockingQueue |
createGeneric(int capacity)
This method creates a new instance of the generic
Collection type <COLLECTION>
with the given initial capacity. |
Class<BlockingQueue> |
getCollectionInterface()
This method gets the interface of the
Collection managed by this factory. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, creategetCollectionImplementationpublic AbstractBlockingQueueFactory()
public Class<BlockingQueue> getCollectionInterface()
Collection managed by this factory.getCollectionInterface in interface CollectionFactory<BlockingQueue>Collection interface.public BlockingQueue createGeneric()
Collection type <COLLECTION>
.createGeneric in interface CollectionFactory<BlockingQueue>public BlockingQueue createGeneric(int capacity)
Collection type <COLLECTION>
with the given initial capacity.createGeneric in interface CollectionFactory<BlockingQueue>capacity - is the initial capacity of the collection.Copyright © 2001–2015 mmm-Team. All rights reserved.