| Package | Description |
|---|---|
| com.github.difflib | |
| com.github.difflib.algorithm | |
| com.github.difflib.algorithm.myers |
| Modifier and Type | Method and Description |
|---|---|
static <T> Patch<T> |
DiffUtils.diff(List<T> original,
List<T> revised,
DiffAlgorithmI<T> algorithm,
DiffAlgorithmListener progress) |
static <T> Patch<T> |
DiffUtils.diff(List<T> original,
List<T> revised,
DiffAlgorithmI<T> algorithm,
DiffAlgorithmListener progress,
boolean includeEqualParts)
Computes the difference between the original and revised list of elements
with default diff algorithm
|
static <T> Patch<T> |
DiffUtils.diff(List<T> original,
List<T> revised,
DiffAlgorithmListener progress)
Computes the difference between two sequences of elements using the default diff algorithm.
|
static Patch<String> |
DiffUtils.diff(String sourceText,
String targetText,
DiffAlgorithmListener progress)
Computes the difference between two strings using the default diff algorithm.
|
| 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.
|
List<Change> |
MyersDiffWithLinearSpace.computeDiff(List<T> source,
List<T> target,
DiffAlgorithmListener progress) |
Copyright © 2009–2025 java-diff-utils. All rights reserved.