Class CollectionUtil
java.lang.Object
com.vaadin.featurepack.data.jpacontainer.util.CollectionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T[]toArray(Class<T> type, Collection<T> collection) Converts a typedCollectionto a typed array.
-
Constructor Details
-
CollectionUtil
public CollectionUtil()
-
-
Method Details
-
toArray
Converts a typedCollectionto a typed array.- Parameters:
type- the type classcollection- the collection to convert to an array.- Returns:
- the array.
-