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