|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.collection.base.AbstractSetFactory
public abstract class AbstractSetFactory
This is the abstract base implementation of the SetFactory interface.
| Constructor Summary | |
|---|---|
AbstractSetFactory()
The constructor. |
|
| Method Summary | |
|---|---|
Set |
createGeneric()
This method creates a new instance of the generic Collection type
<COLLECTION>. |
Set |
createGeneric(int capacity)
This method creates a new instance of the generic Collection type
<COLLECTION> with the given initial
capacity. |
Class<Set> |
getCollectionInterface()
This method gets the interface of the Collection managed by this
factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.mmm.util.collection.api.SetFactory |
|---|
create, create |
| Methods inherited from interface net.sf.mmm.util.collection.api.CollectionFactory |
|---|
getCollectionImplementation |
| Constructor Detail |
|---|
public AbstractSetFactory()
| Method Detail |
|---|
public Class<Set> getCollectionInterface()
Collection managed by this
factory.
getCollectionInterface in interface CollectionFactory<Set>Collection interface.public Set createGeneric()
Collection type
<COLLECTION>.
createGeneric in interface CollectionFactory<Set>public Set createGeneric(int capacity)
Collection type
<COLLECTION> with the given initial
capacity.
createGeneric in interface CollectionFactory<Set>capacity - is the initial capacity of the collection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||