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) throws DiffException
source - source datatarget - target dataprogress - progress listenerDiffExceptiondefault List<Change> computeDiff(T[] source, T[] target, DiffAlgorithmListener progress) throws DiffException
source - target - progress - DiffExceptionCopyright © 2009–2018 java-diff-utils. All rights reserved.