| Modifier and Type | Field and Description |
|---|---|
| private final BiPredicate |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private PathNode | Returns: A minimumPath accross the differences graph.The original sequence. orig, final List<T> The revised sequence. rev, DiffAlgorithmListener progress)Computes the minimum diffpath that expresses de differences between the original and revised sequences, according to Gene Myers differencing algorithm. |
| private List | |
| public List | computeDiff(final List<T> source, final List<T> target, DiffAlgorithmListener progress)
Implements com. Computes the changeset to patch the source list to the target list. |
| public static DiffAlgorithmFactory |
| equalizer | back to summary |
|---|---|
| private final BiPredicate<T, T> equalizer | |
| MyersDiff | back to summary |
|---|---|
| public MyersDiff() | |
| MyersDiff | back to summary |
|---|---|
| public MyersDiff(final BiPredicate<T, T> equalizer) | |
| buildPath | back to summary |
|---|---|
| private PathNode buildPath(final List<T> orig, final List<T> rev, DiffAlgorithmListener progress) Computes the minimum diffpath that expresses de differences between the original and revised sequences, according to Gene Myers differencing algorithm.
| |
| buildRevision | back to summary |
|---|---|
| private List Constructs a | |
| computeDiff | back to summary |
|---|---|
| public List Implements com. Doc from com. Computes the changeset to patch the source list to the target list. Return empty diff if get the error while procession the difference.
| |
| factory | back to summary |
|---|---|
| public static DiffAlgorithmFactory factory() Factory to create instances of this specific diff algorithm. | |