K - the type of map keysT - the type of map valuesM - the map implementation typepublic abstract class MapDiff<K,T,M> extends Object implements Diff<M>
Implements serialization. How differences are applied is left to subclasses.
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<K> |
deletes |
protected Map<K,Diff<T>> |
diffs |
protected Map<K,T> |
upserts |
| 限定符和类型 | 方法和说明 |
|---|---|
List<K> |
getDeletes()
The keys that, when this diff is applied to a map, should be removed from the map.
|
Map<K,Diff<T>> |
getDiffs()
Map entries that, when this diff is applied to a map, should be
incrementally updated.
|
Map<K,T> |
getUpserts()
Map entries that, when this diff is applied to a map, should be
added to the map or fully replace the previous value.
|
public List<K> getDeletes()
public Map<K,Diff<T>> getDiffs()
Diff interface.Copyright © 2021. All rights reserved.