public final class MyersDiff<T> extends Object implements DiffAlgorithmI<T>
Constructor and Description |
---|
MyersDiff() |
MyersDiff(BiPredicate<T,T> equalizer) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeDiff
public MyersDiff()
public MyersDiff(BiPredicate<T,T> equalizer)
public List<Change> computeDiff(List<T> source, List<T> target, DiffAlgorithmListener progress)
computeDiff
in interface DiffAlgorithmI<T>
source
- source datatarget
- target dataprogress
- progress listenerCopyright © 2009–2020 java-diff-utils. All rights reserved.