@ComponentSpecification public interface CollectionFactoryManager
CollectionFactory instances.| Modifier and Type | Method and Description |
|---|---|
<COLLECTION extends Collection> |
getCollectionFactory(Class<COLLECTION> collectionType)
This method gets the
CollectionFactory for the given collectionType. |
<MAP extends Map> |
getMapFactory(Class<MAP> mapType)
This method gets the
MapFactory for the given mapType. |
<MAP extends Map> MapFactory getMapFactory(Class<MAP> mapType)
MapFactory for the given mapType.MAP - is the generic type of the Map.mapType - is the type of the Map. This should be the interface such as Map.class or
SortedMap.class.MapFactory for the given mapType. The mapType has to be
assignable from MapFactory.getMapInterface() of the returned
instance. Typically it will be equal.<COLLECTION extends Collection> CollectionFactory<COLLECTION> getCollectionFactory(Class<COLLECTION> collectionType)
CollectionFactory for the given collectionType.COLLECTION - is the generic type of the Collection.collectionType - is the type of the Collection. This should be the Collection interface such
as List.class.CollectionFactory for the given collectionType. The collectionType has to be
assignable from CollectionFactory.getCollectionInterface() of
the returned instance. Typically it will be equal.Copyright © 2001–2016 mmm-Team. All rights reserved.