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 Details

    • createCollection

      Collection<?> createCollection(Class<? extends Collection> type)
      Create collection by its type.
      Parameters:
      type - collection type
      Returns:
      instantiated collection with given type