java利用反射机制获取list中的某个字段并以list形式返回
public static<T> List<Object> listToList(Collection<T> list,String fieldName) throws Exception { List<Object> ret = new ArrayList(); List<String>getStrs=null; List&...