T - type of data that is diffed.public interface DiffAlgorithmI<T>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Change> |
computeDiff(java.util.List<T> source,
java.util.List<T> target,
DiffAlgorithmListener progress)
Computes the changeset to patch the source list to the target list.
|
default java.util.List<Change> |
computeDiff(T[] source,
T[] target,
DiffAlgorithmListener progress)
Simple extension to compute a changeset using arrays.
|
java.util.List<Change> computeDiff(java.util.List<T> source, java.util.List<T> target, DiffAlgorithmListener progress)
source - source datatarget - target dataprogress - progress listenerdefault java.util.List<Change> computeDiff(T[] source, T[] target, DiffAlgorithmListener progress)
source - target - progress -