| Package | Description |
|---|---|
| difflib.myers |
The
diff.myers package
implements Gene Myers'
differencing algorithm. |
| Modifier and Type | Class and Description |
|---|---|
class |
DiffNode
A diffnode in a diffpath.
|
class |
Snake
Represents a snake in a diffpath.
|
| Modifier and Type | Field and Description |
|---|---|
PathNode |
PathNode.prev
The previous node in the path.
|
| Modifier and Type | Method and 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 and Description |
|---|---|
Patch<T> |
MyersDiff.buildRevision(PathNode path,
List<T> orig,
List<T> rev)
Constructs a
Patch from a difference path. |
| Constructor and 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 © 2015. All rights reserved.