public static Map getMapObj(Class<?> clazz) {
if (clazz.isInterface()) {
if (clazz.isAssignableFrom(Map.class))
return new HashMap();
else if (clazz.isAssignableFrom(ConcurrentMap.class))
return new ConcurrentHashMap();
else if (clazz.isAssignableFrom(SortedMap.class))
return new TreeMap();
else if (clazz.isAssignableFrom(NavigableMap.class))
return new TreeMap();
else if (clazz.isAssignableFrom(ConcurrentNavigableMap.class))