2021年3月12日

json字符串转化成对象列表数据

摘要: json字符串转化成对象列表数据 public static void main(String[] args) { List<Test> list = new ArrayList<>(); for (int i = 0; i < 7000; i++) { Test test = new Test() 阅读全文

posted @ 2021-03-12 13:42 lewisat 阅读(299) 评论(0) 推荐(0) 编辑

Java LIST做批量分组切割

摘要: 对Java LIST做批量分组切割,方便数据进行多线程处理或者其他处理 方法1: //按每500个一组分割 public static void main(String[] args) { int MAX_SEND = 500; List<Integer> list = new ArrayList< 阅读全文

posted @ 2021-03-12 13:23 lewisat 阅读(3719) 评论(0) 推荐(0) 编辑

导航