public final class MeyersDiff<T> extends Object implements DiffAlgorithmI<T>
Constructor and Description |
---|
MeyersDiff() |
MeyersDiff(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.
|
static DiffAlgorithmFactory |
factory()
Factory to create instances of this specific diff algorithm.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeDiff
public MeyersDiff()
public MeyersDiff(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 listenerpublic static DiffAlgorithmFactory factory()
Copyright © 2009–2021 java-diff-utils. All rights reserved.