Package | Description |
---|---|
org.apache.wicket.util.diff.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 |
---|---|
static PathNode |
MyersDiff.buildPath(Object[] orig,
Object[] 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 |
---|---|
static Revision |
MyersDiff.buildRevision(PathNode path,
Object[] orig,
Object[] rev)
Constructs a
Revision 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 © 2006–2022 Apache Software Foundation. All rights reserved.