Package com.vaadin.data.util.converter
Interface StringToCollectionConverter.CollectionFactory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
StringToCollectionConverter.DefaultCollectionFactory
- Enclosing class:
- StringToCollectionConverter
public static interface StringToCollectionConverter.CollectionFactory extends Serializable
Collection factory. Defines a strategy to create collection by collection class.- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<?>
createCollection(Class<? extends Collection> type)
Create collection by itstype
.
-
-
-
Method Detail
-
createCollection
Collection<?> createCollection(Class<? extends Collection> type)
Create collection by itstype
.- Parameters:
type
- collection type- Returns:
- instantiated collection with given
type
-
-