org.granite.util
Class CollectionUtil

java.lang.Object
  extended by org.granite.util.CollectionUtil

public class CollectionUtil
extends Object

Author:
Franck WOLFF

Constructor Summary
CollectionUtil()
           
 
Method Summary
static Type getComponentType(Type collectionType)
           
static Collection<Object> newCollection(Class<?> targetClass, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionUtil

public CollectionUtil()
Method Detail

getComponentType

public static Type getComponentType(Type collectionType)

newCollection

public static Collection<Object> newCollection(Class<?> targetClass,
                                               int length)
                                        throws InstantiationException,
                                               IllegalAccessException
Throws:
InstantiationException
IllegalAccessException