Package | Description |
---|---|
org.assertj.core.util.diff.myers |
Modifier and Type | Class | Description |
---|---|---|
class |
DiffNode |
Copy from https://code.google.com/p/java-diff-utils/.
|
class |
Snake |
Copy from https://code.google.com/p/java-diff-utils/.
|
Modifier and Type | Field | Description |
---|---|---|
PathNode |
PathNode.prev |
The previous node in the path.
|
Modifier and Type | Method | Description |
---|---|---|
PathNode |
MyersDiff.buildPath(List<T> orig,
List<T> rev) |
Computes the minimum diffpath that expresses de differences
between the original and revised sequences, according
to Gene Myers differencing algorithm.
|
PathNode |
PathNode.previousSnake() |
Modifier and Type | Method | Description |
---|---|---|
Patch<T> |
MyersDiff.buildRevision(PathNode path,
List<T> orig,
List<T> rev) |
Constructs a
Patch from a difference path. |
Constructor | Description |
---|---|
DiffNode(int i,
int j,
PathNode prev) |
Constructs a DiffNode.
|
PathNode(int i,
int j,
PathNode prev) |
Concatenates a new path node with an existing diffpath.
|
Snake(int i,
int j,
PathNode prev) |
Constructs a snake node.
|
Copyright © 2014–2019. All rights reserved.