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