public abstract class AbstractNavigableMapFactory extends Object implements NavigableMapFactory
NavigableMapFactory
interface.Constructor and Description |
---|
AbstractNavigableMapFactory()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
NavigableMap |
createGeneric()
This method creates a new instance of the generic
Map type <MAP>. |
NavigableMap |
createGeneric(int capacity)
This method creates a new instance of the generic
Map type <MAP>. |
Class<NavigableMap> |
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 AbstractNavigableMapFactory()
public Class<NavigableMap> getMapInterface()
MapFactory
Map
managed by this factory.getMapInterface
in interface MapFactory<NavigableMap>
Map
interface.public NavigableMap createGeneric()
MapFactory
Map
type <MAP>.createGeneric
in interface MapFactory<NavigableMap>
Map
instance.public NavigableMap createGeneric(int capacity)
MapFactory
Map
type <MAP>.createGeneric
in interface MapFactory<NavigableMap>
capacity
- is the capacity of the map to create.Map
instance.Copyright © 2001–2016 mmm-Team. All rights reserved.