com.vaadin.data.util.converter
Interface StringToCollectionConverter.CollectionFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
StringToCollectionConverter.DefaultCollectionFactory
Enclosing class:
StringToCollectionConverter

public static interface StringToCollectionConverter.CollectionFactory
extends java.io.Serializable

Collection factory. Defines a strategy to create collection by collection class.

Author:
Vaadin Ltd

Method Summary
 java.util.Collection<?> createCollection(java.lang.Class<? extends java.util.Collection> type)
          Create collection by its type.
 

Method Detail

createCollection

java.util.Collection<?> createCollection(java.lang.Class<? extends java.util.Collection> type)
Create collection by its type.

Parameters:
type - collection type
Returns:
instantiated collection with given type


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.