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);
}
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);
}