版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013474104/article/details/78999506
public <T> ArrayList convert(List<Object> a) {
return (ArrayList) a;
}
or
List<String> strs = new ArrayList<String>();
for(Object o:list){
txhms.add((String) o);
}