1. List转为Set,去重
Set<StatBean> CurDateSet = new HashSet<StatBean>(CurDateBeanList);
2. Set转为List, 还原
List<StatBean> CurDateBeanList1 = new ArrayList<StatBean>(CurDateSet) ;
1. List转为Set,去重
Set<StatBean> CurDateSet = new HashSet<StatBean>(CurDateBeanList);
2. Set转为List, 还原
List<StatBean> CurDateBeanList1 = new ArrayList<StatBean>(CurDateSet) ;