org.granite.util
Class MapUtil

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

public class MapUtil
extends Object

Author:
Franck WOLFF

Constructor Summary
MapUtil()
           
 
Method Summary
static Type[] getComponentTypes(Type mapType)
           
static Map<Object,Object> newMap(Class<?> targetClass, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapUtil

public MapUtil()
Method Detail

getComponentTypes

public static Type[] getComponentTypes(Type mapType)

newMap

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