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