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