Interface DiffAlgorithmI<T>
- Type Parameters:
T- type of data that is diffed.
- All Known Implementing Classes:
MeyersDiff, MeyersDiffWithLinearSpace
public interface DiffAlgorithmI<T>
Interface of a diff algorithm.
-
Method Summary
Modifier and TypeMethodDescriptioncomputeDiff(List<T> source, List<T> target, DiffAlgorithmListener progress) Computes the changeset to patch the source list to the target list.computeDiff(T[] source, T[] target, DiffAlgorithmListener progress) Simple extension to compute a changeset using arrays.
-
Method Details
-
computeDiff
-
computeDiff
Simple extension to compute a changeset using arrays.- Parameters:
source-target-progress-- Returns:
-