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