Class HistogramDiff<T>
java.lang.Object
com.github.difflib.algorithm.jgit.HistogramDiff<T>
- All Implemented Interfaces:
DiffAlgorithmI<T>
HistorgramDiff using JGit - Library. This one is much more performant than the orginal Myers
implementation.
-
Constructor Summary
Constructors -
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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.difflib.algorithm.DiffAlgorithmI
computeDiff
-
Constructor Details
-
HistogramDiff
public HistogramDiff()
-
-
Method Details
-
computeDiff
Description copied from interface:DiffAlgorithmI
Computes the changeset to patch the source list to the target list.- Specified by:
computeDiff
in interfaceDiffAlgorithmI<T>
- Parameters:
source
- source datatarget
- target dataprogress
- progress listener- Returns:
-