【发布时间】:2019-04-19 13:39:19
【问题描述】:
我有类似的对象列表,
List<Student> list = new ArrayList<Student>();
list.add(new Student("abc","2019-02-01"));
list.add(new Student("bcd","2019-02-01"));
list.add(new Student("cdf","2019-02-01"));
list.add(new Student("fgh","2019-02-01"));
list.add(new Student("abc","2019-02-02"));
list.add(new Student("bcd","2019-02-02"));
list.add(new Student("cdf","2019-02-02"));
list.add(new Student("fgh","2019-02-02"));
我需要从 object[] 中获取从最低日期到最高日期的元素。
【问题讨论】:
-
在发布之前始终彻底搜索 Stack Overflow。