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, wait
create, create, getMapImplementation
public Class<Map> getMapInterface()
Map
managed by this factory.getMapInterface
in interface MapFactory<Map>
Map
interface.public Map createGeneric()
Map
type <MAP>
.createGeneric
in interface MapFactory<Map>
Map
instance.public Map createGeneric(int capacity)
Map
type <MAP>
.createGeneric
in interface MapFactory<Map>
capacity
- is the capacity of the map to create.Map
instance.Copyright © 2001–2014 mmm-Team. All rights reserved.