public abstract class AbstractQueueFactory extends Object implements QueueFactory
QueueFactory interface.| Constructor and Description |
|---|
AbstractQueueFactory()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Queue |
createGeneric()
This method creates a new instance of the generic
Collection type <COLLECTION>
. |
Queue |
createGeneric(int capacity)
This method creates a new instance of the generic
Collection type <COLLECTION>
with the given initial capacity. |
Class<Queue> |
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 Class<Queue> getCollectionInterface()
Collection managed by this factory.getCollectionInterface in interface CollectionFactory<Queue>Collection interface.public Queue createGeneric()
Collection type <COLLECTION>
.createGeneric in interface CollectionFactory<Queue>public Queue createGeneric(int capacity)
Collection type <COLLECTION>
with the given initial capacity.createGeneric in interface CollectionFactory<Queue>capacity - is the initial capacity of the collection.Copyright © 2001–2015 mmm-Team. All rights reserved.