public abstract class AbstractSortedMapFactory extends Object implements SortedMapFactory
SortedMapFactory
interface.Constructor and Description |
---|
AbstractSortedMapFactory()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
SortedMap |
createGeneric()
This method creates a new instance of the generic
Map type <MAP>. |
SortedMap |
createGeneric(int capacity)
This method creates a new instance of the generic
Map type <MAP>. |
Class<SortedMap> |
getMapInterface()
This method gets the interface of the
Map managed by this factory. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create
getMapImplementation
public Class<SortedMap> getMapInterface()
MapFactory
Map
managed by this factory.getMapInterface
in interface MapFactory<SortedMap>
Map
interface.public SortedMap createGeneric()
MapFactory
Map
type <MAP>.createGeneric
in interface MapFactory<SortedMap>
Map
instance.public SortedMap createGeneric(int capacity)
MapFactory
Map
type <MAP>.createGeneric
in interface MapFactory<SortedMap>
capacity
- is the capacity of the map to create.Map
instance.Copyright © 2001–2016 mmm-Team. All rights reserved.