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