public class MeyersDiffWithLinearSpace<T> extends java.lang.Object implements DiffAlgorithmI<T>
Constructor and Description |
---|
MeyersDiffWithLinearSpace() |
MeyersDiffWithLinearSpace(java.util.function.BiPredicate<T,T> equalizer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Change> |
computeDiff(java.util.List<T> source,
java.util.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 java.util.List<Change> computeDiff(java.util.List<T> source, java.util.List<T> target, DiffAlgorithmListener progress)
DiffAlgorithmI
computeDiff
in interface DiffAlgorithmI<T>
source
- source datatarget
- target dataprogress
- progress listenerpublic static DiffAlgorithmFactory factory()