Castors.me().cast(obj, fromType, toType);
3839404142434445464748
public <T> List<T> convertList(Class<T> eleType) { if (null == list || list.isEmpty()) return (List<T>) list; List<T> re = new ArrayList<T>(list.size()); Castors castors = Castors.me(); for (Object obj : list) re.add(castors.castTo(obj, eleType)); return re; }
4041424344454647484950