| 程序包 | 说明 |
|---|---|
| com.github.hetianyi.boot.ready.common.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> DiffUtil.DiffTuple<T> |
DiffUtil.diff(List<T> oldList,
List<T> newList,
DiffUtil.Comparator<T> comparator)
根据常见业务场景提取的diff操作,
将两个不同的全量集合进行diff操作,挑选出新增,更新和删除集合
|
Copyright © 2022. All rights reserved.