| Package | Description |
|---|---|
| com.github.difflib.algorithm | |
| com.github.difflib.algorithm.jgit | |
| com.github.difflib.algorithm.myers | |
| com.github.difflib.patch |
| Modifier and Type | Method and Description |
|---|---|
List<Change> |
DiffAlgorithm.diff(List<T> original,
List<T> revised)
Computes the difference between the original sequence and the revised sequence and returns it as a
Patch
object. |
default List<Change> |
DiffAlgorithm.diff(T[] original,
T[] revised)
Computes the difference between the original sequence and the revised sequence and returns it as a
Patch
object. |
| Modifier and Type | Method and Description |
|---|---|
List<Change> |
HistogramDiff.diff(List<T> original,
List<T> revised) |
| Modifier and Type | Method and Description |
|---|---|
List<Change> |
MyersDiff.diff(List<T> original,
List<T> revised)
Computes the difference between the original sequence and the revised sequence and returns it as a
Patch
object. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Patch<T> |
Patch.generate(List<T> original,
List<T> revised,
List<Change> changes) |
Copyright © 2009–2017 java-diff-utils. All rights reserved.