Class DefaultCollectionTypeContainer
java.lang.Object
ru.objectsfill.service.containers.DefaultCollectionTypeContainer
- All Implemented Interfaces:
CollectionTypeContainerService,MainContainerService<CollectionTypeFill>
public class DefaultCollectionTypeContainer
extends Object
implements CollectionTypeContainerService
Default registry of
CollectionTypeFill implementations for built-in collection types:
List, Set, Map, and Stream.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the container and registers all built-in collection type handlers. -
Method Summary
Modifier and TypeMethodDescriptionReturns the container map containing implementations of type `T`, mapped to their corresponding classes.
-
Constructor Details
-
DefaultCollectionTypeContainer
public DefaultCollectionTypeContainer()Constructs the container and registers all built-in collection type handlers.
-
-
Method Details
-
getContainer
Returns the container map containing implementations of type `T`, mapped to their corresponding classes.- Specified by:
getContainerin interfaceMainContainerService<CollectionTypeFill>- Returns:
- the container map of implementations of type `T`
-