摘要:
public class sortClass implements Comparator{ public int compare(Object arg0,Object arg1){ OrderListReturn.Entity user0 = (OrderListReturn.Entity)arg0 阅读全文
摘要:
强制在前面加long会报错,可以采用下面的办法 Object o = new Object();long l = Long.valueOf(String.valueOf(o)).longValue(); long i = ((Long)o).longValue();这样不就好了,最简洁 ////// 阅读全文