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