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, waitMethods inherited from interface com.github.difflib.algorithm.DiffAlgorithmI
computeDiff
-
Constructor Details
-
HistogramDiff
public HistogramDiff()
-
-
Method Details
-
computeDiff
Description copied from interface:DiffAlgorithmIComputes the changeset to patch the source list to the target list.- Specified by:
computeDiffin interfaceDiffAlgorithmI<T>- Parameters:
source- source datatarget- target dataprogress- progress listener- Returns:
-