Package | Description |
---|---|
com.github.difflib.algorithm | |
com.github.difflib.algorithm.myers | |
com.github.difflib.patch |
Modifier and Type | Method and Description |
---|---|
List<Change> |
DiffAlgorithmI.computeDiff(List<T> source,
List<T> target,
DiffAlgorithmListener progress)
Computes the changeset to patch the source list to the target list.
|
default List<Change> |
DiffAlgorithmI.computeDiff(T[] source,
T[] target,
DiffAlgorithmListener progress)
Simple extension to compute a changeset using arrays.
|
Modifier and Type | Method and Description |
---|---|
List<Change> |
MyersDiff.computeDiff(List<T> source,
List<T> target,
DiffAlgorithmListener progress)
Computes the changeset to patch the source list to the target list.
|
Modifier and Type | Method and Description |
---|---|
static <T> Patch<T> |
Patch.generate(List<T> original,
List<T> revised,
List<Change> changes) |
static <T> Patch<T> |
Patch.generate(List<T> original,
List<T> revised,
List<Change> _changes,
boolean includeEquals) |
Copyright © 2009–2020 java-diff-utils. All rights reserved.