Class StringToCollectionConverter.DefaultCollectionFactory
java.lang.Object
com.vaadin.featurepack.data.converter.StringToCollectionConverter.DefaultCollectionFactory
- All Implemented Interfaces:
StringToCollectionConverter.CollectionFactory,Serializable
- Enclosing class:
StringToCollectionConverter
public static class StringToCollectionConverter.DefaultCollectionFactory
extends Object
implements StringToCollectionConverter.CollectionFactory
Default collection factory implementation.
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<?> createCollection(Class<? extends Collection> type) Create collection by itstype.
-
Constructor Details
-
DefaultCollectionFactory
public DefaultCollectionFactory()
-
-
Method Details
-
createCollection
Description copied from interface:StringToCollectionConverter.CollectionFactoryCreate collection by itstype.- Specified by:
createCollectionin interfaceStringToCollectionConverter.CollectionFactory- Parameters:
type- collection type- Returns:
- instantiated collection with given
type
-