Interface StringToCollectionConverter.CollectionFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
StringToCollectionConverter.DefaultCollectionFactory
- Enclosing class:
StringToCollectionConverter
Collection factory. Defines a strategy to create collection by collection
class.
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionCollection<?> createCollection(Class<? extends Collection> type) Create collection by itstype.
-
Method Details
-
createCollection
Create collection by itstype.- Parameters:
type- collection type- Returns:
- instantiated collection with given
type
-