摘要: 通过Stream.filter不同属性来过滤重复 /** * 通过对象属性去重 * * @param keyExtractor * @param <T> * @return */ public static <T> Predicate<T> distinctByKey(Function<? supe 阅读全文
posted @ 2020-09-04 11:45 newbie94 阅读(241) 评论(0) 推荐(0) 编辑