com.vaadin.addon.jpacontainer.util
Class CollectionUtil
java.lang.Object
com.vaadin.addon.jpacontainer.util.CollectionUtil
public class CollectionUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionUtil
public CollectionUtil()
toArray
public static <T> T[] toArray(Class<T> type,
Collection<T> collection)
- Converts a typed
Collection to a typed array.
- Parameters:
type - the type classcollection - the collection to convert to an array.
- Returns:
- the array.
Copyright © 2013 Vaadin Ltd. All rights reserved.